[LLVMdev] Which transform passes to apply?

Josh Klontz josh.klontz at gmail.com
Tue Dec 4 17:15:03 PST 2012


Duncan Sands wrote
> Hi Josh,
> 
> instcombine, however this transform is only correct if you are adding -0.0 
> so you won't get it without "fast math", and in 3.2 I think it will only
> be 
> done by codegen (llc).  The situation should be better in 3.3 since a
> bunch 
> of fast-math support started going in to the IR level transforms. 
> 
> ...
> 
> Please open a bug report since even in mainline this transform isn't done
> yet
> (as fast-math support at the IR level only just got going).
> 
> Ciao, Duncan.

Filed under http://llvm.org/bugs/show_bug.cgi?id=14513. The -0.0 trick did
the job in my case. Thanks again!



--
View this message in context: http://llvm.1065342.n5.nabble.com/Which-transform-passes-to-apply-tp52111p52276.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list