[PATCH] D42356: [AArch64] Implement dynamic stack probing for windows
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 21 12:53:17 PST 2018
mstorsjo created this revision.
mstorsjo added reviewers: compnerd, aemerson, t.p.northover.
Herald added subscribers: kristof.beyls, javed.absar, rengolin.
This makes sure that alloca() function calls properly probe the stack as needed.
This is partially based on https://reviews.llvm.org/D40863 by @aemerson.
Since GlobalISel was enabled on aarch64, the handling of ISD::DYNAMIC_STACKALLOC is bypassed completely on -O0 and handled by IRTranslator::translateAlloca instead. How would one hook up target specific behaviour like this with GlobalISel?
Repository:
rL LLVM
https://reviews.llvm.org/D42356
Files:
lib/Target/AArch64/AArch64CallingConvention.td
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
lib/Target/AArch64/AArch64RegisterInfo.cpp
lib/Target/AArch64/AArch64RegisterInfo.h
test/CodeGen/AArch64/win-alloca.ll
test/CodeGen/AArch64/win64_vararg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42356.130821.patch
Type: text/x-patch
Size: 6986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180121/e3554793/attachment.bin>
More information about the llvm-commits
mailing list