about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2022-03-01 16:07:46 -0500
committerAugie Fackler <augie@google.com>2022-03-01 16:07:46 -0500
commit6fbef7f12cd0a6caeb65ae002334ddd7565e11a0 (patch)
treeb1dbc852a0f823ce35d8cbbb055614f725aaaa48 /src/test/codegen
parent26c5d2155ec0de8e871e22550a96ac4ccab6b660 (diff)
downloadrust-6fbef7f12cd0a6caeb65ae002334ddd7565e11a0.tar.gz
rust-6fbef7f12cd0a6caeb65ae002334ddd7565e11a0.zip
tests: avoid problems on 32 bit machines
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/dst-vtable-align-nonzero.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/dst-vtable-align-nonzero.rs b/src/test/codegen/dst-vtable-align-nonzero.rs
index bcc24e3fc49..14c4c3f30f9 100644
--- a/src/test/codegen/dst-vtable-align-nonzero.rs
+++ b/src/test/codegen/dst-vtable-align-nonzero.rs
@@ -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
 }