[llvm] [AArch64] Add CodeGen support for FEAT_CPA (PR #105669)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 09:31:11 PDT 2024
================
@@ -4368,7 +4374,7 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) {
OffsVal = DAG.getSExtOrTrunc(OffsVal, dl, N.getValueType());
- N = DAG.getNode(ISD::ADD, dl, N.getValueType(), N, OffsVal, Flags);
+ N = DAG.getNode(AddOpcode, dl, N.getValueType(), N, OffsVal, Flags);
----------------
arichardson wrote:
getMemBasePlusOffset?
https://github.com/llvm/llvm-project/pull/105669
More information about the llvm-commits
mailing list