[PATCH] D15393: [X86] Order the local stack symbols to improve code size and locality.
Zia Ansari via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 16 14:05:08 PST 2015
zansari updated this revision to Diff 43062.
zansari added a comment.
Thanks, Hans.. I changed one of the vectors to SmallVector, and kept the other as a vector, since it's fixed and only gets malloc'ed once. I ran a few benchmarks on the first one and sampled around 3000 frames to see that size 8 captures ~90% of the cases.
http://reviews.llvm.org/D15393
Files:
include/llvm/CodeGen/CommandFlags.h
include/llvm/Target/TargetFrameLowering.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86FrameLowering.h
test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
test/CodeGen/X86/aligned-variadic.ll
test/CodeGen/X86/cleanuppad-realign.ll
test/CodeGen/X86/dynamic-allocas-VLAs.ll
test/CodeGen/X86/hipe-cc.ll
test/CodeGen/X86/hipe-cc64.ll
test/CodeGen/X86/local-stack-symbol-ordering.ll
test/CodeGen/X86/phys-reg-local-regalloc.ll
test/CodeGen/X86/seh-catch-all-win32.ll
test/CodeGen/X86/seh-stack-realign.ll
test/CodeGen/X86/ssp-data-layout.ll
test/CodeGen/X86/statepoint-stack-usage.ll
test/CodeGen/X86/statepoint-stackmap-format.ll
test/CodeGen/X86/stdarg.ll
test/CodeGen/X86/widen_load-1.ll
test/CodeGen/X86/win-catchpad-varargs.ll
test/CodeGen/X86/win-catchpad.ll
test/CodeGen/X86/win32-seh-catchpad-realign.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15393.43062.patch
Type: text/x-patch
Size: 31600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151216/95377dcc/attachment.bin>
More information about the llvm-commits
mailing list