[PATCH] Add ARM .movsp unwind directive.

Logan Chien tzuhsiang.chien at gmail.com
Wed Oct 16 10:17:02 PDT 2013


logan added you to the CC list for the revision "Add ARM .movsp unwind directive.".

The .movsp directive should be emitted if the frame setup
prologue has instructions look like "mov reg, sp".

To summarize, this commit
- Implements the .movsp directive.
- Adds the FrameSetup flag to machine instructions.
- Adds several test cases related to .movsp directive.

CREDITS: The emitMovSP() and the change in ARMAsmPrinter.h
are refined from the patch uploaded by Ilyoan Cho.

http://llvm-reviews.chandlerc.com/D1953

Files:
  include/llvm/MC/MCStreamer.h
  lib/Target/ARM/ARMAsmPrinter.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  test/CodeGen/ARM/prologue-movsp.ll
  test/MC/ARM/eh-directive-movsp-diagnostics.s
  test/MC/ARM/eh-directive-movsp.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1953.1.patch
Type: text/x-patch
Size: 12364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131016/ee158289/attachment.bin>


More information about the llvm-commits mailing list