summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2017-02-26 11:09:12 +0000
committerDaniel Jasper <djasper@google.com>2017-02-26 11:09:12 +0000
commit3ca452561244db2785a94bdf0ee696a7269e3d2f (patch)
treeb63a7e23cdd8694e7e7a2f0e4de6415e0e2dbfae /llvm/test/CodeGen/PowerPC
parent49a0aac1aa2786bc86b86e865ee2cfb9bb0269a4 (diff)
downloadbcm5719-llvm-3ca452561244db2785a94bdf0ee696a7269e3d2f.tar.gz
bcm5719-llvm-3ca452561244db2785a94bdf0ee696a7269e3d2f.zip
Revert "[CGP] Split some critical edges coming out of indirect branches"
This reverts commit r296149 as it leads to crashes when compiling for PPC. llvm-svn: 296295
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/indirectbr.ll36
1 files changed, 12 insertions, 24 deletions
diff --git a/llvm/test/CodeGen/PowerPC/indirectbr.ll b/llvm/test/CodeGen/PowerPC/indirectbr.ll
index c040d7859a8..d1e03ca7773 100644
--- a/llvm/test/CodeGen/PowerPC/indirectbr.ll
+++ b/llvm/test/CodeGen/PowerPC/indirectbr.ll
@@ -17,35 +17,23 @@ entry:
bb2: ; preds = %entry, %bb3
%gotovar.4.0 = phi i8* [ %gotovar.4.0.pre, %bb3 ], [ %0, %entry ] ; <i8*> [#uses=1]
; PIC: mtctr
+; PIC-NEXT: li
+; PIC-NEXT: li
+; PIC-NEXT: li
+; PIC-NEXT: li
; PIC-NEXT: bctr
-; PIC: li
-; PIC: b LBB
-; PIC: li
-; PIC: b LBB
-; PIC: li
-; PIC: b LBB
-; PIC: li
-; PIC: b LBB
; STATIC: mtctr
+; STATIC-NEXT: li
+; STATIC-NEXT: li
+; STATIC-NEXT: li
+; STATIC-NEXT: li
; STATIC-NEXT: bctr
-; STATIC: li
-; STATIC: b LBB
-; STATIC: li
-; STATIC: b LBB
-; STATIC: li
-; STATIC: b LBB
-; STATIC: li
-; STATIC: b LBB
; PPC64: mtctr
+; PPC64-NEXT: li
+; PPC64-NEXT: li
+; PPC64-NEXT: li
+; PPC64-NEXT: li
; PPC64-NEXT: bctr
-; PPC64: li
-; PPC64: b LBB
-; PPC64: li
-; PPC64: b LBB
-; PPC64: li
-; PPC64: b LBB
-; PPC64: li
-; PPC64: b LBB
indirectbr i8* %gotovar.4.0, [label %L5, label %L4, label %L3, label %L2, label %L1]
bb3: ; preds = %entry
OpenPOWER on IntegriCloud