forked from OSchip/llvm-project
Make this SmallVector size a power of two as suggested by Chandler
llvm-svn: 215355
This commit is contained in:
parent
a043cedf0a
commit
5f5b8cc04f
|
@ -136,7 +136,7 @@ static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op,
|
||||||
static void CloneNodeWithValues(SDNode *N, SelectionDAG *DAG,
|
static void CloneNodeWithValues(SDNode *N, SelectionDAG *DAG,
|
||||||
SmallVectorImpl<EVT> &VTs,
|
SmallVectorImpl<EVT> &VTs,
|
||||||
SDValue ExtraOper = SDValue()) {
|
SDValue ExtraOper = SDValue()) {
|
||||||
SmallVector<SDValue, 6> Ops;
|
SmallVector<SDValue, 8> Ops;
|
||||||
for (unsigned I = 0, E = N->getNumOperands(); I != E; ++I)
|
for (unsigned I = 0, E = N->getNumOperands(); I != E; ++I)
|
||||||
Ops.push_back(N->getOperand(I));
|
Ops.push_back(N->getOperand(I));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue