Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
a502423d1e4db0376ab3e1e45a7e9df79cc43952
/
.
/
test
/
CodeGen
/
PowerPC
/
unsafe-math.ll
blob: ef9791277dcd1688e61dc117618012e56968ff61 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=ppc32 | grep fmul | count 2
; RUN: llc < %s -march=ppc32 -enable-unsafe-fp-math | \
; RUN: grep fmul | count 1
define
double
@foo
(
double
%X
)
{
%tmp1
=
fmul
double
%X
,
1.23
%tmp2
=
fmul
double
%tmp1
,
4.124
ret
double
%tmp2
}