repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
CodeGen
/
PowerPC
/
unsafe-math.ll
blob
ef9791277dcd1688e61dc117618012e56968ff61
1
; RUN: llc < %s -march=ppc32 | grep fmul | count 2
2
; RUN: llc < %s -march=ppc32 -enable-unsafe-fp-math | \
3
; RUN: grep fmul | count 1
4
5
define double @foo(double %X) {
6
%tmp1 = fmul double %X, 1.23
7
%tmp2 = fmul double %tmp1, 4.124
8
ret double %tmp2
9
}
10