diff options
author | Fabian Ritter <fabian.ritter@amd.com> | 2025-05-28 09:09:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-28 09:09:17 +0200 |
commit | 8adcc8a669f093d6fe74645900515e4561102248 (patch) | |
tree | bc6dec46cb5951efc995c4395ba60a647a87f44f /clang/lib/CodeGen/CodeGenModule.h | |
parent | 452894207ae28cde9c22e2935df2d960fa7585a9 (diff) | |
download | llvm-8adcc8a669f093d6fe74645900515e4561102248.zip llvm-8adcc8a669f093d6fe74645900515e4561102248.tar.gz llvm-8adcc8a669f093d6fe74645900515e4561102248.tar.bz2 |
[SelectionDAG] Introduce ISD::PTRADD (#140017)
This opcode represents the addition of a pointer value (first operand)
and an integer offset (second operand). PTRADD nodes are only generated
if the TargetMachine opts in by overriding
TargetMachine::shouldPreservePtrArith().
The PTRADD node and respective visitPTRADD() function were adapted by
@rgwott from the CHERI/Morello LLVM tree.
Original authors: @davidchisnall, @jrtc27, @arichardson.
The changes in this PR were extracted from PR #105669.
---------
Co-authored-by: David Chisnall <github@theravensnest.org>
Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
Co-authored-by: Alexander Richardson <alexrichardson@google.com>
Co-authored-by: Rodolfo Wottrich <rodolfo.wottrich@arm.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions