summaryrefslogtreecommitdiff
path: root/test/CodeGen/mrtd.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-26 23:08:48 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-26 23:08:48 +0000
commitc3af6799d4c8ec4b338236e4361c0795e9af890a (patch)
tree0b35155e1ba00e695780247c39cb9ca5a764cf69 /test/CodeGen/mrtd.c
parent2693c323c0cf146da439719d6d31f321ac70add0 (diff)
downloadclang-c3af6799d4c8ec4b338236e4361c0795e9af890a.tar.gz
Fix testcases to not rely upon target-* attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/mrtd.c')
-rw-r--r--test/CodeGen/mrtd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/mrtd.c b/test/CodeGen/mrtd.c
index 743a9d5944..a40a59ac0f 100644
--- a/test/CodeGen/mrtd.c
+++ b/test/CodeGen/mrtd.c
@@ -2,7 +2,7 @@
void baz(int arg);
-// CHECK: define x86_stdcallcc void @foo(i32 %arg) #0
+// CHECK: define x86_stdcallcc void @foo(i32 %arg) [[NUW:#[0-9]+]]
void foo(int arg) {
// CHECK: call x86_stdcallcc i32 bitcast (i32 (...)* @bar to i32 (i32)*)(
bar(arg);
@@ -14,5 +14,4 @@ void foo(int arg) {
// CHECK: declare x86_stdcallcc void @baz(i32)
-// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
-// CHECK: attributes #1 = { "target-features"={{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind{{.*}} }