[llvm] [AArch64] Avoid generating LDAPUR on certain cores (PR #124274)
Ricardo Jesus via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 03:32:34 PST 2025
rj-jesus wrote:
Hi,
Sorry for being late - I acknowledge this has already been merged. Nevertheless, I think the logic for this should be reversed. Instead of explicitly disabling the fold for the few cores above, in my opinion we should explicitly enable it where we know it's safe to do so (and assume default disabled).
The penalty for getting it wrong on the affected cores outweighs the penalty for missing out on the fold on unaffected cores (as in this latter case, it's just an extra GP instruction), and many users/package providers compile with `-march` rather than an `-mcpu`.
https://github.com/llvm/llvm-project/pull/124274
More information about the llvm-commits
mailing list