Precommit target features compatibility test
This commit is contained in:
parent
ff7bf792ce
commit
b3cfd5bb04
@ -29,6 +29,14 @@ pub unsafe fn f1() {
|
|||||||
sse2();
|
sse2();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CHECK-LABEL: fn f2()
|
||||||
|
// CHECK: bb0: {
|
||||||
|
// CHECK-NEXT: return;
|
||||||
|
#[target_feature(enable = "avx")]
|
||||||
|
pub unsafe fn f2() {
|
||||||
|
nop();
|
||||||
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
#[no_sanitize(address)]
|
#[no_sanitize(address)]
|
||||||
pub unsafe fn no_sanitize() {}
|
pub unsafe fn no_sanitize() {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user