summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ObjCARC/contract-storestrong.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2012-01-19 19:14:36 +0000
committerDan Gohman <gohman@apple.com>2012-01-19 19:14:36 +0000
commit8ee108bf98844d86dc856b636294044b8b8d0873 (patch)
tree6b894526e0c9759533050719aa10b5a9dc346874 /llvm/test/Transforms/ObjCARC/contract-storestrong.ll
parentf83dcfd052e07418daa410f08c66101d40c41757 (diff)
downloadbcm5719-llvm-8ee108bf98844d86dc856b636294044b8b8d0873.tar.gz
bcm5719-llvm-8ee108bf98844d86dc856b636294044b8b8d0873.zip
Set the "tail" flag on pattern-matched objc_storeStrong calls.
rdar://10531041. llvm-svn: 148490
Diffstat (limited to 'llvm/test/Transforms/ObjCARC/contract-storestrong.ll')
-rw-r--r--llvm/test/Transforms/ObjCARC/contract-storestrong.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/ObjCARC/contract-storestrong.ll b/llvm/test/Transforms/ObjCARC/contract-storestrong.ll
index fda2ff4cbfc..4ff0596fbbc 100644
--- a/llvm/test/Transforms/ObjCARC/contract-storestrong.ll
+++ b/llvm/test/Transforms/ObjCARC/contract-storestrong.ll
@@ -9,7 +9,7 @@ declare void @objc_release(i8*)
; CHECK: define void @test0(
; CHECK: entry:
-; CHECK-NEXT: call void @objc_storeStrong(i8** @x, i8* %p) nounwind
+; CHECK-NEXT: tail call void @objc_storeStrong(i8** @x, i8* %p) nounwind
; CHECK-NEXT: ret void
define void @test0(i8* %p) {
entry:
OpenPOWER on IntegriCloud