[PATCH] Don't force the use of a base pointer with MS inline asm

Reid Kleckner rnk at google.com
Fri Dec 6 14:58:39 PST 2013


  - Analyze the inline asm for implicit defs and add them to clobbers
  - Only force the use of esi when the inline asm actually clobbers esp

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1317?vs=3460&id=5968#toc

Files:
  include/llvm/CodeGen/MachineFrameInfo.h
  include/llvm/CodeGen/MachineFunction.h
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/MC/MCParser/AsmParser.cpp
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86RegisterInfo.cpp
  test/CodeGen/X86/inline-asm-stack-realign.ll
  test/CodeGen/X86/inline-asm-stack-realign2.ll
  test/CodeGen/X86/ms-inline-asm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1317.3.patch
Type: text/x-patch
Size: 12357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131206/6f4dc6ba/attachment.bin>


More information about the llvm-commits mailing list