[LLVMdev] folding x * 0 = 0
David Greene
dag at cray.com
Wed Mar 3 13:53:23 PST 2010
On Wednesday 03 March 2010 15:38:06 Chris Lattner wrote:
> > Signalling NaN is one case. I'm sure there are others.
>
> The only other thing I could imagine that it is useful for is for rounding
> mode control.
Yep.
> IMO rounding mode should be explicitly marked on the
> instruction as well.
That would also be useful for some GPUs where each instruction can specify
its own rounding mode.
-Dave
More information about the llvm-dev
mailing list