[PATCH] D72074: [ARM] Use the correct opcodes for Thumb2 segmented stack frame lowering

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 03:29:59 PST 2020


dmgreen created this revision.
dmgreen added reviewers: efriedma, ostannard, SjoerdMeijer.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

The segmented stack lowering code appears to be using ARM opcodes under Thumb2. The MRC opcode will be the same for Thumb and ARM, but t2LDR seems wrong. Either way, using the correct thumb vs arm opcodes is more correct.


https://reviews.llvm.org/D72074

Files:
  llvm/lib/Target/ARM/ARMFrameLowering.cpp
  llvm/test/CodeGen/Thumb2/segmented-stacks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72074.235773.patch
Type: text/x-patch
Size: 4301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/edebbc00/attachment.bin>


More information about the llvm-commits mailing list