mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e7ad49c23
commit
a5ca8e5c50
19
test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll
Normal file
19
test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
; This testcase fails because preheader insertion is not updating exit node
|
||||||
|
; information for loops.
|
||||||
|
|
||||||
|
; RUN: 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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user