[PATCH] D40861: [X86] Add support for stack probing on x86_64 Darwin
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 14:52:33 PST 2017
aemerson created this revision.
Herald added a subscriber: mgorny.
[X86] Add support for stack probing on x86_64 Darwin.
This change re-uses the existing infrastructure for generating calls to a stack probing function. The stack probing is done for static and dynamic stack objects. As a result of the code re-use, I've renamed the WIN_ALLOCA node to DYN_ALLOCA and the related optimisation pass.
A new TargetOption is added to enable stack probing for non-Windows targets, for which currently only Darwin is supported.
Repository:
rL LLVM
https://reviews.llvm.org/D40861
Files:
include/llvm/CodeGen/CommandFlags.def
include/llvm/Target/TargetOptions.h
lib/Target/X86/CMakeLists.txt
lib/Target/X86/X86.h
lib/Target/X86/X86DynAllocaExpander.cpp
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrCompiler.td
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86MachineFunctionInfo.h
lib/Target/X86/X86TargetMachine.cpp
lib/Target/X86/X86WinAllocaExpander.cpp
test/CodeGen/X86/O0-pipeline.ll
test/CodeGen/X86/darwin-stack-probing.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40861.125618.patch
Type: text/x-patch
Size: 23087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/31ea4c91/attachment.bin>
More information about the llvm-commits
mailing list