[llvm] [SelectionDAG] Introduce ISD::PTRADD (PR #140017)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon May 19 04:42:44 PDT 2025
================
@@ -1502,6 +1502,11 @@ enum NodeType {
// Outputs: [rv], output chain, glue
PATCHPOINT,
+ // PTRADD represents pointer arithmatic semantics, for targets that opt in
+ // using shouldPreservePtrArith().
+ // ptr = PTRADD ptr, offset
+ PTRADD,
----------------
arsenm wrote:
Should also cover this in SelectionDAGCompat
https://github.com/llvm/llvm-project/pull/140017
More information about the llvm-commits
mailing list