[PATCH] D36335: Add ‘llvm.experimental.constrained.fma‘ Intrinsic

Brian Sumner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 12:23:29 PDT 2017


b-sumner added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6651
   case ISD::STRICT_FREM: NewOpc = ISD::FREM; break;
+  case ISD::STRICT_FMA: NewOpc = ISD::FMA; break;
   case ISD::STRICT_FSQRT: NewOpc = ISD::FSQRT; IsUnary = true; break;
----------------
This is a ternary operation.  Code below assumes unary or binary.


Repository:
  rL LLVM

https://reviews.llvm.org/D36335





More information about the llvm-commits mailing list