[SelectionDAG] Add getTokenFactor, which splits nodes with > 64k operands.
authorFlorian Hahn <flo@fhahn.com>
Fri, 18 Jan 2019 14:05:59 +0000 (14:05 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 18 Jan 2019 14:05:59 +0000 (14:05 +0000)
commitd2c733b429f9b300576494295eda134073e2dd23
treeeafb65133700a446067984afa959adbae79b24e7
parentf5356944a18a4c209248d9f4af4ae6c4ec1ac347
[SelectionDAG] Add getTokenFactor, which splits nodes with > 64k operands.

This functionality is required at multiple places which potentially
create large operand lists, like SelectionDAGBuilder or DAGCombiner.

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

llvm-svn: 351552
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp