[llvm] [AArch64] Optimization of repeated constant loads (#51483) (PR #86249)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 08:31:31 PDT 2024


davemgreen wrote:

Hi - I believe you will need a ORRXrs. The ORRXri will take an immediate for the second operand.

It's like one of these: https://gcc.godbolt.org/z/8aWhfWv4T (but in that case might need to check that the top bits are known to be 0 when we convert it to a stp).

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


More information about the llvm-commits mailing list