mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Maybe this will keep people from breaking -branch-combine!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13928 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74032a5702
commit
9aa9b09aca
24
test/Transforms/BranchCombine/2004-06-01-Simple.ll
Normal file
24
test/Transforms/BranchCombine/2004-06-01-Simple.ll
Normal file
@ -0,0 +1,24 @@
|
||||
; Basic test of -branch-combine functionality
|
||||
; RUN: llvm-as < %s | opt -branch-combine | llvm-dis | egrep 'newCommon:.*; preds =.*no_exit.1' | grep loopentry.2
|
||||
|
||||
target endian = big
|
||||
target pointersize = 64
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
void %main() {
|
||||
entry:
|
||||
br bool false, label %__main.entry, label %endif.0.i
|
||||
|
||||
endif.0.i: ; preds = %entry
|
||||
ret void
|
||||
|
||||
__main.entry: ; preds = %entry
|
||||
br label %no_exit.1
|
||||
|
||||
no_exit.1: ; preds = %__main.entry, %no_exit.1, %loopentry.2
|
||||
br bool false, label %loopentry.2, label %no_exit.1
|
||||
|
||||
loopentry.2: ; preds = %no_exit.1
|
||||
br label %no_exit.1
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user