summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/WinEHPrepare.cpp
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2018-12-05 00:41:30 +0000
committerAmara Emerson <aemerson@apple.com>2018-12-05 00:41:30 +0000
commit814a6794ba78ad52da499c67792602873e43d4f8 (patch)
tree1961dc43c8c19ec99b03594172d40342d6880c62 /llvm/lib/CodeGen/WinEHPrepare.cpp
parentf57bfd3d9f2a9d659cfbab9bb196f8f183f669bf (diff)
downloadbcm5719-llvm-814a6794ba78ad52da499c67792602873e43d4f8.tar.gz
bcm5719-llvm-814a6794ba78ad52da499c67792602873e43d4f8.zip
[SelectionDAG] Split very large token factors for loads into 64k chunks.
There's a 64k limit on the number of SDNode operands, and some very large functions with 64k or more loads can cause crashes due to this limit being hit when a TokenFactor with this many operands is created. To fix this, create sub-tokenfactors if we've exceeded the limit. No test case as it requires a very large function. rdar://45196621 Differential Revision: https://reviews.llvm.org/D55073 llvm-svn: 348324
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud