mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
16 lines
345 B
LLVM
16 lines
345 B
LLVM
; RUN: opt < %s -loopsimplify
|
|
|
|
define void @foo(i1 %C) {
|
|
br i1 %C, label %T, label %F
|
|
T: ; preds = %0
|
|
br label %Loop
|
|
F: ; preds = %0
|
|
br label %Loop
|
|
Loop: ; preds = %L2, %Loop, %F, %T
|
|
%Val = phi i32 [ 0, %T ], [ 1, %F ], [ 2, %Loop ], [ 3, %L2 ] ; <i32> [#uses=0]
|
|
br i1 %C, label %Loop, label %L2
|
|
L2: ; preds = %Loop
|
|
br label %Loop
|
|
}
|
|
|