mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8673e44639
commit
c642435f52
13
test/Assembler/2002-08-22-DominanceProblem.ll
Normal file
13
test/Assembler/2002-08-22-DominanceProblem.ll
Normal file
@ -0,0 +1,13 @@
|
||||
; Dominance relationships is not calculated correctly for unreachable blocks,
|
||||
; which causes the verifier to barf on this input.
|
||||
|
||||
int %test(bool %b) {
|
||||
BB0: ret int 7 ; Loop is unreachable
|
||||
|
||||
Loop:
|
||||
%B = phi int [%B, %L2], [%B, %Loop] ; PHI has same value always.
|
||||
br bool %b, label %L2, label %Loop
|
||||
L2:
|
||||
br label %Loop
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user