llvm-6502/test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
Reid Spencer 4953e92ad0 For PR1913:
Convert to new test system. This exposes test/Transforms/ConstProp/calls.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36027 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 23:04:54 +00:00

14 lines
357 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | \
; RUN: not grep {ret bool false}
%b = external global [2 x { }]
implementation
bool %f() {
; tmp.2 -> true, not false.
%tmp.2 = seteq { }* getelementptr ([2 x { }]* %b, int 0, int 0),
getelementptr ([2 x { }]* %b, int 0, int 1)
ret bool %tmp.2
}