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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 07:05:28 PDT 2025


================
@@ -1309,6 +1310,12 @@ void VectorLegalizer::Expand(SDNode *Node, SmallVectorImpl<SDValue> &Results) {
       return;
     }
     break;
+  case ISD::FCANONICALIZE: {
+    const Triple &TT = DAG.getTarget().getTargetTriple();
+    if (TT.isX86()) {
+      return;
+    }
+  }
----------------
woruyu wrote:

done!

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


More information about the llvm-commits mailing list