summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/complex-double-abi.m
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2013-02-12 05:53:35 +0000
committerJohn McCall <rjmccall@apple.com>2013-02-12 05:53:35 +0000
commit3d1e2c960df1f2a9865eb312af067a469d413588 (patch)
tree903c72e1abde1a874eb9f2b4f1e3e4b9082684c9 /clang/test/CodeGenObjC/complex-double-abi.m
parent7c85c9433cffac9192529b55e4a7c1331ec206e6 (diff)
downloadbcm5719-llvm-3d1e2c960df1f2a9865eb312af067a469d413588.tar.gz
bcm5719-llvm-3d1e2c960df1f2a9865eb312af067a469d413588.zip
Properly assemble PHIs after a null-checked invoke of objc_msgSend.
rdar://12046763 llvm-svn: 174946
Diffstat (limited to 'clang/test/CodeGenObjC/complex-double-abi.m')
-rw-r--r--clang/test/CodeGenObjC/complex-double-abi.m9
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/test/CodeGenObjC/complex-double-abi.m b/clang/test/CodeGenObjC/complex-double-abi.m
index 08246d5824f..63535200402 100644
--- a/clang/test/CodeGenObjC/complex-double-abi.m
+++ b/clang/test/CodeGenObjC/complex-double-abi.m
@@ -9,8 +9,7 @@ double _Complex foo(CNumber *x) {
return [x sum];
}
-// CHECK: [[T4:%.*]] = phi double [ 0.000000e+00, [[NULLINIT:%.*]] ], [ [[R1:%.*]], [[MSGCALL:%.*]] ]
-// CHECK: [[T5:%.*]] = phi double [ 0.000000e+00, [[NULLINIT:%.*]] ], [ [[I1:%.*]], [[MSGCALL:%.*]] ]
-
-// CHECK: store double [[T4]]
-// CHECK: store double [[T5]]
+// CHECK: [[R:%.*]] = phi double [ [[R1:%.*]], [[MSGCALL:%.*]] ], [ 0.000000e+00, [[NULLINIT:%.*]] ]
+// CHECK-NEXT: [[I:%.*]] = phi double [ [[I1:%.*]], [[MSGCALL]] ], [ 0.000000e+00, [[NULLINIT]] ]
+// CHECK: store double [[R]]
+// CHECK: store double [[I]]
OpenPOWER on IntegriCloud