diff options
| author | Eric Christopher <echristo@apple.com> | 2011-08-15 22:38:22 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-08-15 22:38:22 +0000 |
| commit | bf005ecd9c4d791b8fd2595bd970644dff951a9f (patch) | |
| tree | 195607747c734bde956ff66ad15c7e4560c37b5a /clang/test/CodeGen/libcalls.c | |
| parent | d2dfc5ec02d90d28147c583decb5417a4c37d07e (diff) | |
| download | bcm5719-llvm-bf005ecd9c4d791b8fd2595bd970644dff951a9f.tar.gz bcm5719-llvm-bf005ecd9c4d791b8fd2595bd970644dff951a9f.zip | |
'pure' and 'const' functions should also be marked nounwind. Migrate
test over from llvm/test/FrontendC++ and update others to account for
the change.
llvm-svn: 137669
Diffstat (limited to 'clang/test/CodeGen/libcalls.c')
| -rw-r--r-- | clang/test/CodeGen/libcalls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/libcalls.c b/clang/test/CodeGen/libcalls.c index 5ff684fd5b6..458c591837f 100644 --- a/clang/test/CodeGen/libcalls.c +++ b/clang/test/CodeGen/libcalls.c @@ -24,9 +24,9 @@ void test_sqrt(float a0, double a1, long double a2) { // CHECK-YES: declare float @sqrtf(float) // CHECK-YES: declare double @sqrt(double) // CHECK-YES: declare x86_fp80 @sqrtl(x86_fp80) -// CHECK-NO: declare float @sqrtf(float) readnone -// CHECK-NO: declare double @sqrt(double) readnone -// CHECK-NO: declare x86_fp80 @sqrtl(x86_fp80) readnone +// CHECK-NO: declare float @sqrtf(float) nounwind readnone +// CHECK-NO: declare double @sqrt(double) nounwind readnone +// CHECK-NO: declare x86_fp80 @sqrtl(x86_fp80) nounwind readnone // CHECK-YES: define void @test_pow // CHECK-NO: define void @test_pow |

