[PATCH] DAGCombine: constant fold FMA

Mehdi AMINI mehdi.amini at apple.com
Sat Jan 10 11:06:56 PST 2015


You're completely right, thanks :)

The reason my constant folding didn't occur is because I'm trying to constant fold a NaN. 
I tried to do it in my backend, but it does not work because the Target PerformDAGCombine() is never called because even if the constant folding fails, getNode() will return something else than SDValue().


http://reviews.llvm.org/D6912

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list