mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
b60528b8ab
Test needs to be upgraded for the forthcoming FCmpInst patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32683 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
203 B
LLVM
12 lines
203 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
|
|
; RUN: lli %t.bc > /dev/null
|
|
|
|
|
|
int %main() {
|
|
%X = add double 0.0, 1.0
|
|
%Y = sub double 0.0, 1.0
|
|
%Z = seteq double %X, %Y
|
|
add double %Y, 0.0
|
|
ret int 0
|
|
}
|