[PATCH] Allow constant folding of fma and fmuladd

hfinkel at anl.gov hfinkel at anl.gov
Tue Mar 4 15:56:59 PST 2014


  LGTM.


================
Comment at: lib/Analysis/ConstantFolding.cpp:1646
@@ +1645,3 @@
+        if (const ConstantFP *Op3 = dyn_cast<ConstantFP>(Operands[2])) {
+        switch (F->getIntrinsicID()) {
+        default: break;
----------------
Why is this not indented?


http://llvm-reviews.chandlerc.com/D2951



More information about the llvm-commits mailing list