[llvm] [AArch64] merge index address with large offset into base address (PR #75343)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 16:55:59 PST 2023
================
@@ -481,6 +505,16 @@ static unsigned getPreIndexedOpcode(unsigned Opc) {
}
}
+static unsigned getBaseAddressOpcode(unsigned Opc) {
+ // TODO: Add more index address loads/stores.
+ switch (Opc) {
+ default:
+ llvm_unreachable("Opcode has no base address equivalent!");
----------------
vfdff wrote:
yes, similar to above getLdStAmountOp,I only support `LDRBBroX` in the first version.
https://github.com/llvm/llvm-project/pull/75343
More information about the llvm-commits
mailing list