From f147303434f6b26d64458a999fb6760fdd422977 Mon Sep 17 00:00:00 2001 From: Erik Desjardins Date: Wed, 2 Mar 2022 17:30:58 -0500 Subject: [PATCH] fix tests on platforms where Align16 is represented as i128 --- src/test/codegen/loads.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }