[llvm] [X86] Remove LowerFCanonicalize and use generic expansion (PR #147877)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 10 01:18:27 PDT 2025


================
@@ -11580,6 +11580,26 @@ SDValue TargetLowering::expandVecReduce(SDNode *Node, SelectionDAG &DAG) const {
   return Res;
 }
 
+SDValue
+TargetLowering::expandFCanonicalizeWithStrictFmul(SDNode *Node, SDLoc DL,
+                                                  SelectionDAG &DAG) const {
+  // Create strict multiplication by 1.0.
----------------
RKSimon wrote:

you've lost all the comments when you moved the expansion code to here

https://github.com/llvm/llvm-project/pull/147877


More information about the llvm-commits mailing list