mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
New testcase, this should be simplified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39e8389ba8
commit
46d5bca1ac
12
test/Transforms/IndVarsSimplify/2003-09-12-MultiplePred.ll
Normal file
12
test/Transforms/IndVarsSimplify/2003-09-12-MultiplePred.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | opt -indvars | dis | grep indvar
|
||||
|
||||
int %test() {
|
||||
br bool true, label %LoopHead, label %LoopHead
|
||||
|
||||
LoopHead:
|
||||
%A = phi int [0, %0], [0, %0], [%B, %LoopHead]
|
||||
%B = add int %A, 1
|
||||
br bool false, label %LoopHead, label %Out
|
||||
Out:
|
||||
ret int %B
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user