[llvm] [DAGCombiner][RISCV] Add target hook to decide hoisting LogicOp with extension (PR #136677)
Jim Lin via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 07:48:56 PDT 2025
================
@@ -5981,6 +5981,9 @@ SDValue DAGCombiner::hoistLogicOpWithSameOpcodeHands(SDNode *N) {
HandOpcode == ISD::ANY_EXTEND_VECTOR_INREG) &&
LegalTypes && !TLI.isTypeDesirableForOp(LogicOpcode, XVT))
return SDValue();
+ // If it is not desirable to hoist LogicOp with extension.
----------------
tclin914 wrote:
Drop it. Thanks.
https://github.com/llvm/llvm-project/pull/136677
More information about the llvm-commits
mailing list