Skip to content

Commit ace3250

Browse files
committed
Fix shuffle_vector
1 parent a654186 commit ace3250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
13171317
element_type
13181318
}
13191319
else {
1320-
self.int_type
1320+
self.cx.type_ix(element_type.get_size() as u64 * 8)
13211321
};
13221322
for i in 0..mask_num_units {
13231323
let field = struct_type.get_field(i as i32);

0 commit comments

Comments
 (0)