summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/mrtd.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
commitc33fc4c00453099f4ac180313a67d6eb0f91ce0a (patch)
tree3522c3ac6a80d9d32c581884791649d862af2c76 /clang/test/CodeGen/mrtd.c
parent90bc19cd914c9870c1d1701b3a3e290b135c63b6 (diff)
downloadbcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.tar.gz
bcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.zip
Modify the tests to use attribute group references instead of listing the
function attributes. llvm-svn: 175606
Diffstat (limited to 'clang/test/CodeGen/mrtd.c')
-rw-r--r--clang/test/CodeGen/mrtd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGen/mrtd.c b/clang/test/CodeGen/mrtd.c
index d7729a52506..743a9d5944b 100644
--- a/clang/test/CodeGen/mrtd.c
+++ b/clang/test/CodeGen/mrtd.c
@@ -2,7 +2,7 @@
void baz(int arg);
-// CHECK: define x86_stdcallcc void @foo(i32 %arg) nounwind
+// CHECK: define x86_stdcallcc void @foo(i32 %arg) #0
void foo(int arg) {
// CHECK: call x86_stdcallcc i32 bitcast (i32 (...)* @bar to i32 (i32)*)(
bar(arg);
@@ -13,3 +13,6 @@ void foo(int arg) {
// CHECK: declare x86_stdcallcc i32 @bar(...)
// CHECK: declare x86_stdcallcc void @baz(i32)
+
+// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
+// CHECK: attributes #1 = { "target-features"={{.*}} }
OpenPOWER on IntegriCloud