about summary refs log tree commit diff
path: root/tests/codegen/call-llvm-intrinsics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/call-llvm-intrinsics.rs')
-rw-r--r--tests/codegen/call-llvm-intrinsics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/call-llvm-intrinsics.rs b/tests/codegen/call-llvm-intrinsics.rs
index 8e0327f84b4..cb8abae198e 100644
--- a/tests/codegen/call-llvm-intrinsics.rs
+++ b/tests/codegen/call-llvm-intrinsics.rs
@@ -1,4 +1,4 @@
-// compile-flags: -C no-prepopulate-passes
+// compile-flags: -C no-prepopulate-passes -Copt-level=0
 
 // ignore-riscv64
 
@@ -23,7 +23,7 @@ pub fn do_call() {
 
     unsafe {
         // Ensure that we `call` LLVM intrinsics instead of trying to `invoke` them
-        // CHECK: call noundef float @llvm.sqrt.f32(float noundef 4.000000e+00
+        // CHECK: call float @llvm.sqrt.f32(float 4.000000e+00
         sqrt(4.0);
     }
 }