llvm-project/llvm/test/ExecutionEngine/2003-01-10-FUCOM.ll

11 lines
297 B
LLVM
Raw Normal View History

; RUN: lli %s > /dev/null
2004-11-07 07:32:43 +08:00
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
2003-01-13 09:03:16 +08:00
}