[llvm] [AArch64] Replace AND with LSL#2 for LDR target (#34101) (PR #89531)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 24 05:44:42 PDT 2024
ParkHanbum wrote:
@davemgreen Thanks, I think I'm almost there thanks to your advice, I was thinking I should do it in `LOAD`. it's my mistake.
Can I ask one more thing?
I can check the legality of the address via `TLI.isLegalAddressingMode()`, but what function in the TLI can I utilize to check if `PreIndex` is allowed in architecture?
https://github.com/llvm/llvm-project/pull/89531
More information about the llvm-commits
mailing list