mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 12:51:20 +00:00

Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits. llvm-svn: 148231
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
|
|
}
|
|
|