From 57a98509616eb5c17821c84de64a9995509bb636 Mon Sep 17 00:00:00 2001 From: "Raul E. Silvera" Date: Thu, 6 Mar 2014 01:37:10 +0000 Subject: [PATCH] Update clang test to cover for new treatment of intrinsics as readnone. llvm-svn: 203056 --- clang/test/CodeGen/libcalls.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/test/CodeGen/libcalls.c b/clang/test/CodeGen/libcalls.c index 71e241679fb8..8120b7525623 100644 --- a/clang/test/CodeGen/libcalls.c +++ b/clang/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 }