[PATCH] D14909: [X86][FMA] Optimize FNEG(FMUL) Patterns

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 10:25:31 PST 2015


spatel added inline comments.

================
Comment at: lib/Target/X86/X86ISelLowering.cpp:26155
@@ +26154,3 @@
+      Arg->getFlags()->hasNoSignedZeros() &&
+      (Subtarget->hasFMA() || Subtarget->hasFMA4() || Subtarget->hasAVX512())) {
+    SDValue Zero = DAG.getConstantFP(0.0, DL, VT);
----------------
We can use "hasAnyFMA()" after:
http://reviews.llvm.org/rL254425


Repository:
  rL LLVM

http://reviews.llvm.org/D14909





More information about the llvm-commits mailing list