trans: support simd_shuffle using MIR constants for indices.
This commit is contained in:
parent
ed66fe48e9
commit
5c42e694cb
5 changed files with 51 additions and 45 deletions
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(repr_simd, rustc_attrs, platform_intrinsics)]
|
||||
#![feature(repr_simd, platform_intrinsics)]
|
||||
|
||||
// ignore-pretty : (#23623) problems when ending with // comments
|
||||
|
||||
|
|
@ -52,7 +52,6 @@ macro_rules! all_eq {
|
|||
}}
|
||||
}
|
||||
|
||||
#[rustc_no_mir] // FIXME #27840 MIR doesn't handle shuffle constants.
|
||||
fn main() {
|
||||
let x2 = i32x2(20, 21);
|
||||
let x3 = i32x3(30, 31, 32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue