llvm-6502/test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll
Dan Gohman f2f6ce65b7 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-11 18:01:28 +00:00

17 lines
381 B
LLVM

; This testcase fails because preheader insertion is not updating exit node
; information for loops.
; RUN: opt < %s -licm
define i32 @main(i32 %argc, i8** %argv) {
bb0:
br i1 false, label %bb7, label %bb5
bb5: ; preds = %bb5, %bb0
br i1 false, label %bb5, label %bb7
bb7: ; preds = %bb7, %bb5, %bb0
br i1 false, label %bb7, label %bb10
bb10: ; preds = %bb7
ret i32 0
}