[llvm] [AArch64][SelectionDAG] Add CodeGen support for FEAT_CPA (PR #105669)
Rodolfo Wottrich via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 05:05:54 PST 2025
================
@@ -920,3 +920,7 @@ bool AArch64TargetMachine::parseMachineFunctionInfo(
MF.getInfo<AArch64FunctionInfo>()->initializeBaseYamlFields(YamlMFI);
return false;
}
+
+bool AArch64TargetMachine::shouldPreservePtrArith(const Function &F) const {
+ return getSubtargetImpl(F)->hasCPA();
+}
----------------
rgwott wrote:
Done.
https://github.com/llvm/llvm-project/pull/105669
More information about the llvm-commits
mailing list