[PATCH] D50975: [FPEnv] Support constrained FREM intrinsic

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 12:06:14 PDT 2018


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:4203
     break;
   case ISD::FADD:
     Results.push_back(ExpandFPLibCall(Node, RTLIB::ADD_F32, RTLIB::ADD_F64,
----------------
cameron.mcinally wrote:
> cameron.mcinally wrote:
> > craig.topper wrote:
> > > Should STRICT_FADD be here? Same question for MUL and SUB
> > Good call. I'll add those in and see if I can find a test case that expands on x86. Maybe FP128 or something...
> Ah, selecting the runtime FP128 calls is going to take good deal of work. Too much work to quickly tack on to this FREM change. 
> 
> Craig, are you okay with me addressing those changes (ADD/SUB/MUL/DIV) in a separate Diff? 
Yeah it should be separate


Repository:
  rL LLVM

https://reviews.llvm.org/D50975





More information about the llvm-commits mailing list