1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll
David Majnemer c6df3d773b Remove the ScalarReplAggregates pass
Nearly all the changes to this pass have been done while maintaining and
updating other parts of LLVM.  LLVM has had another pass, SROA, which
has superseded ScalarReplAggregates for quite some time.

Differential Revision: http://reviews.llvm.org/D21316

llvm-svn: 272737
2016-06-15 00:19:09 +00:00

19 lines
716 B
LLVM

; RUN: opt < %s -sroa -loop-simplify -licm -disable-output -verify-dom-info -verify-loop-info
define void @inflate() {
entry:
br label %loopentry.0.outer1111
loopentry.0.outer1111: ; preds = %then.41, %label.11, %loopentry.0.outer1111, %entry
%left.0.ph1107 = phi i32 [ %tmp.1172, %then.41 ], [ 0, %entry ], [ %tmp.1172, %label.11 ], [ %left.0.ph1107, %loopentry.0.outer1111 ] ; <i32> [#uses=2]
%tmp.1172 = sub i32 %left.0.ph1107, 0 ; <i32> [#uses=2]
switch i32 0, label %label.11 [
i32 23, label %loopentry.0.outer1111
i32 13, label %then.41
]
label.11: ; preds = %loopentry.0.outer1111
br label %loopentry.0.outer1111
then.41: ; preds = %loopentry.0.outer1111
br label %loopentry.0.outer1111
}