From: Raul E. Silvera Date: Thu, 6 Mar 2014 01:37:10 +0000 (+0000) Subject: Update clang test to cover for new treatment of intrinsics as readnone. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b86b0ed5f2b8017e3329ca05b8494603fb525d98;p=clang Update clang test to cover for new treatment of intrinsics as readnone. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203056 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/libcalls.c b/test/CodeGen/libcalls.c index 71e241679f..8120b75256 100644 --- a/test/CodeGen/libcalls.c +++ b/test/CodeGen/libcalls.c @@ -52,9 +52,9 @@ void test_pow(float a0, double a1, long double a2) { // 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, long double ld) { // 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 }