[llvm] [SelectionDAG] Introduce ISD::PTRADD (PR #140017)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 21 01:24:23 PDT 2025
================
@@ -2617,6 +2620,85 @@ SDValue DAGCombiner::foldSubToAvg(SDNode *N, const SDLoc &DL) {
return SDValue();
}
+/// Try to fold a pointer arithmetic node.
----------------
arsenm wrote:
Maybe should split this into a PR with tests and a target use
https://github.com/llvm/llvm-project/pull/140017
More information about the llvm-commits
mailing list