mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
fix tests on platforms where Align16 is represented as i128
This commit is contained in:
parent
69ae4233cf
commit
f147303434
@ -35,7 +35,7 @@ pub fn load_ref<'a>(x: &&'a i32) -> &'a i32 {
|
|||||||
// CHECK-LABEL: @load_ref_higher_alignment
|
// CHECK-LABEL: @load_ref_higher_alignment
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn load_ref_higher_alignment<'a>(x: &&'a Align16) -> &'a Align16 {
|
pub fn load_ref_higher_alignment<'a>(x: &&'a Align16) -> &'a Align16 {
|
||||||
// CHECK: load %Align16*, %Align16** %x, align [[PTR_ALIGNMENT]], !nonnull !{{[0-9]+}}, !align ![[ALIGN_16_META:[0-9]+]], !noundef !{{[0-9]+}}
|
// CHECK: load {{%Align16|i128}}*, {{%Align16|i128}}** %x, align [[PTR_ALIGNMENT]], !nonnull !{{[0-9]+}}, !align ![[ALIGN_16_META:[0-9]+]], !noundef !{{[0-9]+}}
|
||||||
*x
|
*x
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user