aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-20 19:41:03 +0000
committerChris Lattner <sabre@nondot.org>2005-12-20 19:41:03 +0000
commit2f0f9a69733fc587ff77ed4866db6bc32964a70a (patch)
treedfa4798e33abef69ab72f83b093280535fc21b74 /lib/CodeGen/AsmPrinter.cpp
parentaca0901dd3f02f83d13c2f818d0141d644d8e5b0 (diff)
This ugly patch works around a GCC bug where it is compiling SelectCode to
use too much stack space, overflowing the stack for large functions. Instead of emitting new SDOperands in each match block, we emit some common ones at the top of SelectCode then reuse them when possible. This reduces the stack size of SelectCode from 28K to 21K. Note that GCC compiles it to 512 bytes :-/ I've filed GCC PR 25505 to track this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions