llvm-6502/test/Transforms/IndVarsSimplify/subtract.ll
Tanya Lattner 12ff96854d Adding XFAIL lines for dejagnu support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 20:38:27 +00:00

14 lines
247 B
LLVM

; XFAIL: *
; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
%G = global long 0
void %test(long %V) {
br label %Loop
Loop:
%X = phi long [1, %0], [%X.next, %Loop]
%X.next = sub long %X, %V
store long %X, long* %G
br label %Loop
}