diff options
Diffstat (limited to 'test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll')
-rw-r--r-- | test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll b/test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll new file mode 100644 index 0000000..f25460e --- /dev/null +++ b/test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll @@ -0,0 +1,17 @@ +; RUN: llvm-upgrade < %s | llvm-as | opt -loopsimplify -verify -licm -disable-output +implementation ; Functions: + +void %.subst_48() { +entry: + br label %loopentry.0 + +loopentry.0: ; preds = %entry, %loopentry.0 + br bool false, label %loopentry.0, label %loopentry.2 + +loopentry.2: ; preds = %loopentry.0, %loopentry.2 + %tmp.968 = setle int 0, 3 ; <bool> [#uses=1] + br bool %tmp.968, label %loopentry.2, label %UnifiedReturnBlock + +UnifiedReturnBlock: ; preds = %entry, %loopentry.2 + ret void +} |