[llvm] [WebAssembly] Refactor PerformSETCCCombine (PR #144875)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 19 09:46:05 PDT 2025
================
@@ -3239,50 +3239,76 @@ static SDValue performBitcastCombine(SDNode *N,
return SDValue();
}
-static SDValue performSETCCCombine(SDNode *N,
- TargetLowering::DAGCombinerInfo &DCI) {
- auto &DAG = DCI.DAG;
+template <int MatchRHS, ISD::CondCode MatchCond, bool RequiresNegate,
----------------
badumbatish wrote:
i see that it's still templated but the helper function's size's been reduced. Is there any other particular reason besides code size that you're still opting for templating?
https://github.com/llvm/llvm-project/pull/144875
More information about the llvm-commits
mailing list