r203056 - Update clang test to cover for new treatment of intrinsics as readnone.
Raul E. Silvera
rsilvera at google.com
Wed Mar 5 17:37:10 PST 2014
Author: rsilvera
Date: Wed Mar 5 19:37:10 2014
New Revision: 203056
URL: http://llvm.org/viewvc/llvm-project?rev=203056&view=rev
Log:
Update clang test to cover for new treatment of intrinsics as readnone.
Modified:
cfe/trunk/test/CodeGen/libcalls.c
Modified: cfe/trunk/test/CodeGen/libcalls.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/libcalls.c?rev=203056&r1=203055&r2=203056&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/libcalls.c (original)
+++ cfe/trunk/test/CodeGen/libcalls.c Wed Mar 5 19:37:10 2014
@@ -52,9 +52,9 @@ void test_pow(float a0, double a1, long
// CHECK-YES: declare float @powf(float, float)
// CHECK-YES: declare double @pow(double, double)
// CHECK-YES: declare x86_fp80 @powl(x86_fp80, x86_fp80)
-// CHECK-NO: declare float @llvm.pow.f32(float, float) [[NUW_RO:#[0-9]+]]
-// CHECK-NO: declare double @llvm.pow.f64(double, double) [[NUW_RO]]
-// CHECK-NO: declare x86_fp80 @llvm.pow.f80(x86_fp80, x86_fp80) [[NUW_RO]]
+// CHECK-NO: declare float @llvm.pow.f32(float, float) [[NUW_RNI:#[0-9]+]]
+// CHECK-NO: declare double @llvm.pow.f64(double, double) [[NUW_RNI]]
+// CHECK-NO: declare x86_fp80 @llvm.pow.f80(x86_fp80, x86_fp80) [[NUW_RNI]]
// CHECK-YES-LABEL: define void @test_fma
// CHECK-NO-LABEL: define void @test_fma
@@ -127,4 +127,4 @@ void test_builtins(double d, float f, lo
// CHECK-YES: attributes [[NUW_RN]] = { nounwind readnone }
// CHECK-NO: attributes [[NUW_RN]] = { nounwind readnone{{.*}} }
-// CHECK-NO: attributes [[NUW_RO]] = { nounwind readonly }
+// CHECK-NO: attributes [[NUW_RNI]] = { nounwind readnone }
More information about the cfe-commits
mailing list