diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-03-02 17:30:58 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-03-02 17:30:58 -0500 |
| commit | f147303434f6b26d64458a999fb6760fdd422977 (patch) | |
| tree | 952dd710da79f839357eff388b667de8e6d61337 /src/test/codegen | |
| parent | 69ae4233cfdffd4269e07203406ff0ccb2671896 (diff) | |
| download | rust-f147303434f6b26d64458a999fb6760fdd422977.tar.gz rust-f147303434f6b26d64458a999fb6760fdd422977.zip | |
fix tests on platforms where Align16 is represented as i128
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/loads.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/loads.rs b/src/test/codegen/loads.rs index 268c55561f2..7952bf67a46 100644 --- a/src/test/codegen/loads.rs +++ b/src/test/codegen/loads.rs @@ -35,7 +35,7 @@ pub fn load_ref<'a>(x: &&'a i32) -> &'a i32 { // CHECK-LABEL: @load_ref_higher_alignment #[no_mangle] 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 } |
