[PATCH] D124014: [AArch64] Correct isLegalAddressingMode for ldp/stp

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 07:25:00 PDT 2022


bcl5980 abandoned this revision.
bcl5980 added a comment.

In D124014#3464520 <https://reviews.llvm.org/D124014#3464520>, @dmgreen wrote:

> Hmm. So I think that the current version of isLegalAddressingMode is technically correct - in that AArch64 does have r+r addressing modes for both scalars and vectors. (It might not for strange types, but that's not what we are targeting here). Adding a heuristic to make it wrong, so that the next level up produces better code is an option - but it may be better in the long run to fix the places using this (LSR for example) so that they understand about paired loads and can produce better code in all cases.
>
>> And can you tell me if we do some perf sensitive change. what should we test ? I know some CPU perf bench like specCPU, cinebench, geekbench, but all of them are not open-source.
>
> There are the benchmarks in the llvm-test-suite. They can be a bit noisy though, unfortunately, so need to be ran with care.

Thanks,I will abandon this change.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124014/new/

https://reviews.llvm.org/D124014



More information about the llvm-commits mailing list