[PATCH] D23516: [ARM] Generate consistent frame records for Thumb2

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 10:05:34 PDT 2016


olista01 removed rL LLVM as the repository for this revision.
olista01 updated this revision to Diff 68879.
olista01 added a comment.
Herald added a subscriber: qcolombet.

- Removed hasABIFP, use DisableFramePointerElim instead.
- Removed special cases for iOS and WatchOS, the "no-frame-pointer-elim" attribute should be set by the frontend instead.
- R7 is now the frame pointer for Darwin, rather than MachO, and split stacks are enabled iff the frame pointer is r7.
- Fix up a lot of tests affected by the iOS/WatchOS change. Most of these were just a case of adding the "no-frame-pointer-elim" attribute, but there were a few cases testing the codegen differences with/without frame pointers, which needed changing.
- Rolled https://reviews.llvm.org/D23517 into this patch, as that was the original behaviour on iOS/WatchOS, and it wouldn't be possible to replicate the original iOS behaviour without https://reviews.llvm.org/D23517.


https://reviews.llvm.org/D23516

Files:
  lib/Target/ARM/ARMBaseRegisterInfo.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/ARM/ARMSubtarget.h
  lib/Target/ARM/Thumb1FrameLowering.cpp
  test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll
  test/CodeGen/ARM/2010-11-29-PrologueBug.ll
  test/CodeGen/ARM/2010-12-07-PEIBug.ll
  test/CodeGen/ARM/2011-08-25-ldmia_ret.ll
  test/CodeGen/ARM/arm-shrink-wrapping.ll
  test/CodeGen/ARM/call-tc.ll
  test/CodeGen/ARM/cxx-tlscc.ll
  test/CodeGen/ARM/debug-frame-large-stack.ll
  test/CodeGen/ARM/debug-info-arg.ll
  test/CodeGen/ARM/dwarf-unwind.ll
  test/CodeGen/ARM/fast-isel-frameaddr.ll
  test/CodeGen/ARM/hello.ll
  test/CodeGen/ARM/ifcvt-iter-indbr.ll
  test/CodeGen/ARM/ifcvt10.ll
  test/CodeGen/ARM/ifcvt5.ll
  test/CodeGen/ARM/insn-sched1.ll
  test/CodeGen/ARM/ldrd.ll
  test/CodeGen/ARM/lsr-unfolded-offset.ll
  test/CodeGen/ARM/memfunc.ll
  test/CodeGen/ARM/noreturn.ll
  test/CodeGen/ARM/swiftself.ll
  test/CodeGen/ARM/v7k-abi-align.ll
  test/CodeGen/ARM/warn-stack.ll
  test/CodeGen/Thumb/large-stack.ll
  test/CodeGen/Thumb/push.ll
  test/CodeGen/Thumb2/2009-07-21-ISelBug.ll
  test/CodeGen/Thumb2/2010-11-22-EpilogueBug.ll
  test/CodeGen/Thumb2/aligned-spill.ll
  test/CodeGen/Thumb2/frame-pointer.ll
  test/CodeGen/Thumb2/thumb2-ldm.ll
  test/DebugInfo/ARM/PR16736.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23516.68879.patch
Type: text/x-patch
Size: 62028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/54b1aa1f/attachment.bin>


More information about the llvm-commits mailing list