[PATCH] D54123: [X86] improve split-stack machine BB placement

Than McIntosh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 14:20:29 PST 2018


thanm created this revision.
Herald added a subscriber: llvm-commits.

The conditional branch created to support -fsplit-stack for X86 is
left unbiased/unhinted, resulting in less than idea block placement:
the __morestack call block is kept on the main hot path. Bias the
branch to insure that the stack allocation block is treated as a
"cold" block during machine basic block placement.


Repository:
  rL LLVM

https://reviews.llvm.org/D54123

Files:
  lib/Target/X86/X86FrameLowering.cpp
  test/CodeGen/X86/segmented-stacks-dynamic.ll
  test/CodeGen/X86/segmented-stacks.ll
  test/CodeGen/X86/x86-shrink-wrap-unwind.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54123.172655.patch
Type: text/x-patch
Size: 17112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181105/6245de43/attachment.bin>


More information about the llvm-commits mailing list