mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 23:05:31 +00:00
a66a18505e
Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148231 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
298 B
LLVM
11 lines
298 B
LLVM
; RUN: %lli %s > /dev/null
|
|
|
|
define i32 @main() {
|
|
%X = fadd double 0.000000e+00, 1.000000e+00 ; <double> [#uses=1]
|
|
%Y = fsub double 0.000000e+00, 1.000000e+00 ; <double> [#uses=2]
|
|
%Z = fcmp oeq double %X, %Y ; <i1> [#uses=0]
|
|
fadd double %Y, 0.000000e+00 ; <double>:1 [#uses=0]
|
|
ret i32 0
|
|
}
|
|
|