mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
345 B
LLVM
13 lines
345 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|