[PATCH] D51678: ARM: fix Thumb2 CodeGen for ldrex with folded frame-index
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 6 12:09:53 PDT 2018
efriedma added inline comments.
================
Comment at: llvm/lib/Target/ARM/ARMFrameLowering.cpp:1519
case ARMII::AddrModeT2_i8s4:
+ case ARMII::AddrModeT2_ldrex:
Limit = std::min(Limit, ((1U << 8) - 1) * 4);
----------------
I'm not sure I understand why AddrModeT2_i12 needs special handling, but AddrModeT2_ldrex doesn't; I think they have a similar restriction that they only support positive offsets?
Repository:
rL LLVM
https://reviews.llvm.org/D51678
More information about the llvm-commits
mailing list