[PATCH] D141980: [X86] Transform slow LEA_B_I_D/LEA_SLOWBASE_I -> LEA_IS_D/LEA_IS iff base == index

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 19:34:50 PST 2023


goldstein.w.n added a comment.

In D141980#4060945 <https://reviews.llvm.org/D141980#4060945>, @pengfei wrote:

> scale > 1 also has bad performation on some microarch, see Intel SOM.

AFAICT none of the `Atom` targets (slow lea) have `TuningSlow3OpsLEA` set. I can add a check for
`isAtom` if you want though. LMK.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141980



More information about the llvm-commits mailing list