]> granicus.if.org Git - llvm/commit
[DAGCombiner] Use getTokenFactor in a few more cases.
authorFlorian Hahn <flo@fhahn.com>
Thu, 21 Mar 2019 14:32:09 +0000 (14:32 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 21 Mar 2019 14:32:09 +0000 (14:32 +0000)
commit40750bcf02f8e057ce72c2025c843d410fc9ec7f
treefc43f0aa3441209f15823ac85173a1acf3e62477
parent001665e9a867d399642150a4e7873e99cc8076f5
[DAGCombiner] Use getTokenFactor in a few more cases.

SDNodes can only have 64k operands and for some inputs (e.g. large
number of stores), we can reach this limit when creating TokenFactor
nodes. This patch is a follow up to D56740 and updates a few more places
that potentially can create TokenFactors with too many operands.

Reviewers: efriedma, craig.topper, aemerson, RKSimon

Reviewed By: RKSimon

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356668 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp