mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
e78760e179
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
483 B
LLVM
20 lines
483 B
LLVM
; This testcase fails because preheader insertion is not updating exit node
|
|
; information for loops.
|
|
|
|
; RUN: llvm-as < %s | opt -licm
|
|
|
|
int %main(int %argc, sbyte** %argv) {
|
|
bb0: ; No predecessors!
|
|
br bool false, label %bb7, label %bb5
|
|
|
|
bb5: ; preds = %bb5, %bb0
|
|
br bool false, label %bb5, label %bb7
|
|
|
|
bb7: ; preds = %bb7, %bb5, %bb0
|
|
br bool false, label %bb7, label %bb10
|
|
|
|
bb10: ; preds = %bb7
|
|
ret int 0
|
|
}
|
|
|