diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
commit | 87869db5f5394fc35f38de1ebbe85f21d5549d99 (patch) | |
tree | 6a00b449613d15ba851b41834050d2c7526224e4 /clang/test/CodeGen/ppc64-extend.c | |
parent | c73f9c5d892b9c31ccbc838ad9a8a5f372f1d7be (diff) | |
download | bcm5719-llvm-87869db5f5394fc35f38de1ebbe85f21d5549d99.tar.gz bcm5719-llvm-87869db5f5394fc35f38de1ebbe85f21d5549d99.zip |
Add more attributes from the command line to functions.
This is an ongoing process. Any command line option which a back-end cares about
should be added here.
llvm-svn: 176009
Diffstat (limited to 'clang/test/CodeGen/ppc64-extend.c')
-rw-r--r-- | clang/test/CodeGen/ppc64-extend.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGen/ppc64-extend.c b/clang/test/CodeGen/ppc64-extend.c index 17a8aeec0bf..68d28c79b52 100644 --- a/clang/test/CodeGen/ppc64-extend.c +++ b/clang/test/CodeGen/ppc64-extend.c @@ -2,15 +2,15 @@ // RUN: %clang_cc1 -O0 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s void f1(int x) { return; } -// CHECK: define void @f1(i32 signext %x) #0 +// CHECK: define void @f1(i32 signext %x) [[NUW:#[0-9]+]] void f2(unsigned int x) { return; } -// CHECK: define void @f2(i32 zeroext %x) #0 +// CHECK: define void @f2(i32 zeroext %x) [[NUW]] int f3(void) { return 0; } -// CHECK: define signext i32 @f3() #0 +// CHECK: define signext i32 @f3() [[NUW]] unsigned int f4(void) { return 0; } -// CHECK: define zeroext i32 @f4() #0 +// CHECK: define zeroext i32 @f4() [[NUW]] -// CHECK: attributes #0 = { nounwind "target-features"={{.*}} } +// CHECK: attributes [[NUW]] = { nounwind{{.*}} } |