[llvm] [X86][SelectionDAG] - Add support for llvm.canonicalize intrinsic (PR #106370)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 23:01:22 PDT 2024


================
@@ -58198,6 +58218,7 @@ SDValue X86TargetLowering::PerformDAGCombine(SDNode *N,
   case ISD::AND:            return combineAnd(N, DAG, DCI, Subtarget);
   case ISD::OR:             return combineOr(N, DAG, DCI, Subtarget);
   case ISD::XOR:            return combineXor(N, DAG, DCI, Subtarget);
+  case ISD::FCANONICALIZE:  return combineCanonicalize(N,DAG);
----------------
phoebewang wrote:

Space

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


More information about the llvm-commits mailing list