summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2016-08-31 13:16:45 +0000
committerJames Molloy <james.molloy@arm.com>2016-08-31 13:16:45 +0000
commit76c9d423a78b4dd3b491420145e591e61ce6536e (patch)
tree5fcaafba5e2460c6acadc7c5e6b8188dbf0804d0 /llvm/test/MC
parent06a45483a179d125c8c76419c70fc1f173cfb698 (diff)
downloadbcm5719-llvm-76c9d423a78b4dd3b491420145e591e61ce6536e.tar.gz
bcm5719-llvm-76c9d423a78b4dd3b491420145e591e61ce6536e.zip
Revert "[SimplifyCFG] Handle tail-sinking of more than 2 incoming branches"
This reverts commit r280217. r280216 caused buildbot failures - backing out the entire chain. llvm-svn: 280233
Diffstat (limited to 'llvm/test/MC')
-rw-r--r--llvm/test/MC/ARM/data-in-code.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/ARM/data-in-code.ll b/llvm/test/MC/ARM/data-in-code.ll
index c2194e9179c..10657a3fed3 100644
--- a/llvm/test/MC/ARM/data-in-code.ll
+++ b/llvm/test/MC/ARM/data-in-code.ll
@@ -9,7 +9,7 @@
;; Ensure that if a jump table is generated that it has Mapping Symbols
;; marking the data-in-code region.
-define void @foo(i32* %ptr, i32 %b) nounwind ssp {
+define void @foo(i32* %ptr) nounwind ssp {
%tmp = load i32, i32* %ptr, align 4
switch i32 %tmp, label %exit [
i32 0, label %bb0
@@ -18,7 +18,7 @@ define void @foo(i32* %ptr, i32 %b) nounwind ssp {
i32 3, label %bb3
]
bb0:
- store i32 %b, i32* %ptr, align 4
+ store i32 0, i32* %ptr, align 4
br label %exit
bb1:
store i32 1, i32* %ptr, align 4
OpenPOWER on IntegriCloud