[PATCH] D47443: [X86] Lowering FMA intrinsics to native IR (LLVM part)
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 28 11:32:37 PDT 2018
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:30595
+ SDValue FMAdd = Op0;
+ SDValue FMSub = Op1;
+ if (FMSub.getOperand(2).getOpcode() != ISD::FNEG) {
----------------
Can we detect this pattern after the ISD::FMA+FNEG has been turned into X86ISD::FMSUB? It might simplify the code a little.
Repository:
rL LLVM
https://reviews.llvm.org/D47443
More information about the llvm-commits
mailing list