2017-08-02 06:20:41 +08:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fmul | count 2
|
|
|
|
; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -enable-unsafe-fp-math | \
|
2007-08-15 21:36:28 +08:00
|
|
|
; RUN: grep fmul | count 1
|
2007-01-09 07:03:19 +08:00
|
|
|
|
2010-11-15 06:22:14 +08:00
|
|
|
define double @foo(double %X) nounwind {
|
2009-06-05 06:49:04 +08:00
|
|
|
%tmp1 = fmul double %X, 1.23
|
|
|
|
%tmp2 = fmul double %tmp1, 4.124
|
2007-01-09 07:03:19 +08:00
|
|
|
ret double %tmp2
|
|
|
|
}
|
|
|
|
|