[llvm] [ARM] Move expand psuedos before load-store opt (PR #199353)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 24 11:23:27 PDT 2026


LumioseSil wrote:

> Is there a motivating example for this? Did you dig through the git history to see if there's a reason for this to be the way it is?
> 
> Added a couple others who should be more familiar with the pipeline here.

1. Yes. AArch64 does this order too.
2. I did run git blame. There is no reason why it was placed at the end other than I assume that it was a conservative decision given that the first two instructions supported by this were not affected by opt, being tLDRpci_pic and t2LDRpci_pic
3. The fact there are changes to the tests and it is valid shows that there are load/store instructions in these psuedos that should be processed and optimized.

https://github.com/llvm/llvm-project/pull/199353


More information about the llvm-commits mailing list