mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0721aaa8f7
llvm-svn: 48527
17 lines
391 B
LLVM
17 lines
391 B
LLVM
; This testcase fails because preheader insertion is not updating exit node
|
|
; information for loops.
|
|
|
|
; RUN: llvm-as < %s | opt -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
|
|
}
|
|
|