]> git.lizzy.rs Git - rust.git/commitdiff
tests: avoid problems on 32 bit machines
authorAugie Fackler <augie@google.com>
Tue, 1 Mar 2022 21:07:46 +0000 (16:07 -0500)
committerAugie Fackler <augie@google.com>
Tue, 1 Mar 2022 21:07:46 +0000 (16:07 -0500)
src/test/codegen/dst-vtable-align-nonzero.rs

index bcc24e3fc4936999c8b011c7e1fc06d0fab3e257..14c4c3f30f94a1ba07e5f756113c160e79af3d61 100644 (file)
@@ -24,7 +24,7 @@ pub fn eliminates_runtime_check_when_align_1(
     x: &Struct<WrapperWithAlign1<dyn Trait>>
 ) -> &WrapperWithAlign1<dyn Trait> {
     // CHECK: load [[USIZE:i[0-9]+]], {{.+}} !range [[RANGE_META:![0-9]+]]
-    // CHECK-NOT: tail call i64 @llvm.umax.i64
+    // CHECK-NOT: llvm.umax
     // CHECK-NOT: icmp
     // CHECK-NOT: select
     // CHECK: ret
@@ -37,7 +37,7 @@ pub fn does_not_eliminate_runtime_check_when_align_2(
     x: &Struct<WrapperWithAlign2<dyn Trait>>
 ) -> &WrapperWithAlign2<dyn Trait> {
     // CHECK: [[X0:%[0-9]+]] = load [[USIZE]], {{.+}} !range [[RANGE_META]]
-    // CHECK: {{icmp|llvm.umax.i64}}
+    // CHECK: {{icmp|llvm.umax}}
     // CHECK: ret
     &x.dst
 }