mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa5bcb526b
commit
2fac727fb0
12
test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
Normal file
12
test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | opt -constprop | llvm-dis | 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user