[SelectionDAG] Split very large token factors for chained stores to 64k chunks.
authorFlorian Hahn <flo@fhahn.com>
Fri, 18 Jan 2019 18:37:38 +0000 (18:37 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 18 Jan 2019 18:37:38 +0000 (18:37 +0000)
commitdc4e1547207fa31d80e423744b834291a69f6484
treedc15dbf739dfd376133928db66657335b93128f8
parentb9d4461f9f166e22b90f7728a85c30bebdde6abf
[SelectionDAG] Split very large token factors for chained stores to 64k chunks.

Similar to D55073. Without this change, the DAG combiner crashes on code
with more than 64k of stores in a single basic block that form parallelizable
chains.

No test case, as it would be very IR file.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D56740

llvm-svn: 351571
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp