[PATCH] Add a "probe-stack" attribute

John Kåre Alsaker john.mailinglists at gmail.com
Mon Aug 4 11:09:56 PDT 2014


This now uses the string attribute "probe-stack". Dynamic allocations will have stack probes added. I also added a fast path for smaller frames.

http://reviews.llvm.org/D4717

Files:
  include/llvm/CodeGen/MachineFunction.h
  lib/CodeGen/MachineFunction.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Transforms/IPO/Inliner.cpp
  test/CodeGen/X86/mingw-alloca.ll
  test/CodeGen/X86/pr17631.ll
  test/CodeGen/X86/stack-probes.ll
  test/CodeGen/X86/win64_alloca_dynalloca.ll
  test/CodeGen/X86/win64_eh.ll
  test/CodeGen/X86/win_chkstk.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4717.12169.patch
Type: text/x-patch
Size: 20303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/0b8521fb/attachment.bin>


More information about the llvm-commits mailing list