summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/arc-block-copy-escape.m
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
commite1c4a1babd90ea097ef80df44011e977212c2e78 (patch)
treec8a4cf6471fcb59e39f19d8a21421daed9285b24 /clang/test/CodeGenObjC/arc-block-copy-escape.m
parenta032374ea0d069bff44045eee72ebdaa100ccc7a (diff)
downloadbcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.tar.gz
bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.zip
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
llvm-svn: 175878
Diffstat (limited to 'clang/test/CodeGenObjC/arc-block-copy-escape.m')
-rw-r--r--clang/test/CodeGenObjC/arc-block-copy-escape.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/arc-block-copy-escape.m b/clang/test/CodeGenObjC/arc-block-copy-escape.m
index 15c0d1d0f49..3ba74263751 100644
--- a/clang/test/CodeGenObjC/arc-block-copy-escape.m
+++ b/clang/test/CodeGenObjC/arc-block-copy-escape.m
@@ -9,14 +9,16 @@ void use_int(int);
void test0(int i) {
block_t block = ^{ use_int(i); };
// CHECK: define void @test0(
- // CHECK: call i8* @objc_retainBlock(i8* {{%.*}}) nounwind, !clang.arc.copy_on_escape
+ // CHECK: call i8* @objc_retainBlock(i8* {{%.*}}) [[NUW:#[0-9]+]], !clang.arc.copy_on_escape
// CHECK: ret void
}
void test1(int i) {
id block = ^{ use_int(i); };
// CHECK: define void @test1(
- // CHECK: call i8* @objc_retainBlock(i8* {{%.*}}) nounwind
+ // CHECK: call i8* @objc_retainBlock(i8* {{%.*}}) [[NUW]]
// CHECK-NOT: !clang.arc.copy_on_escape
// CHECK: ret void
}
+
+// CHECK: attributes [[NUW]] = { nounwind }
OpenPOWER on IntegriCloud