Skip to content

Commit

Permalink
Fix tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Mar 1, 2019
1 parent 018747b commit ef3358b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/librustc_codegen_llvm/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,12 @@ impl Builder<'a, 'll, 'tcx> {
}
}

pub fn shuffle_vector(&mut self, v1: &'ll Value, v2: &'ll Value, mask: &'ll Value) -> &'ll Value {
pub fn shuffle_vector(
&mut self,
v1: &'ll Value,
v2: &'ll Value,
mask: &'ll Value,
) -> &'ll Value {
self.count_insn("shufflevector");
unsafe {
llvm::LLVMBuildShuffleVector(self.llbuilder, v1, v2, mask, noname())
Expand Down
4 changes: 3 additions & 1 deletion src/librustc_codegen_ssa/mir/operand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ impl<'a, 'tcx: 'a, V: CodegenObject> OperandValue<V> {
self.store_with_flags(bx, dest, MemFlags::VOLATILE);
}

pub fn unaligned_volatile_store<Bx: MemoryBuilderMethods<'tcx, Value = V> + NumBuilderMethods<'tcx>>(
pub fn unaligned_volatile_store<
Bx: MemoryBuilderMethods<'tcx, Value = V> + NumBuilderMethods<'tcx>
>(
self,
bx: &mut Bx,
dest: PlaceRef<'tcx, V>,
Expand Down

0 comments on commit ef3358b

Please sign in to comment.