summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/arc-unoptimized-byref-var.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-unoptimized-byref-var.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-unoptimized-byref-var.m')
-rw-r--r--clang/test/CodeGenObjC/arc-unoptimized-byref-var.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m b/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m
index 080da63ca37..d3189e15d3d 100644
--- a/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m
+++ b/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m
@@ -8,8 +8,9 @@ void test19() {
// CHECK-UNOPT: [[X2:%.*]] = getelementptr inbounds [[BYREF_T:%.*]]* [[VAR1:%.*]], i32 0, i32 6
// CHECK-UNOPT-NEXT: [[SIX:%.*]] = load i8** [[X2]], align 8
// CHECK-UNOPT-NEXT: store i8* null, i8** [[X]], align 8
-// CHECK-UNOPT-NEXT: call void @objc_storeStrong(i8** [[X]], i8* [[SIX]]) nounwind
-// CHECK-UNOPT-NEXT: call void @objc_storeStrong(i8** [[X2]], i8* null) nounwind
+// CHECK-UNOPT-NEXT: call void @objc_storeStrong(i8** [[X]], i8* [[SIX]]) [[NUW:#[0-9]+]]
+// CHECK-UNOPT-NEXT: call void @objc_storeStrong(i8** [[X2]], i8* null) [[NUW]]
// CHECK-UNOPT-NEXT: ret void
}
+// CHECK: attributes [[NUW]] = { nounwind }
OpenPOWER on IntegriCloud