projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af713d3
)
Make this SmallVector size a power of two as suggested by Chandler
author
Hans Wennborg
<hans@hanshq.net>
Mon, 11 Aug 2014 13:47:57 +0000
(13:47 +0000)
committer
Hans Wennborg
<hans@hanshq.net>
Mon, 11 Aug 2014 13:47:57 +0000
(13:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215355
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
index 62b3625055c846447d558d48a69bad07235eea55..797d2b1d810a361e5291cba3d69127fb39f4336e 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
@@
-136,7
+136,7
@@
static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op,
static void CloneNodeWithValues(SDNode *N, SelectionDAG *DAG,
SmallVectorImpl<EVT> &VTs,
SDValue ExtraOper = SDValue()) {
- SmallVector<SDValue,
6
> Ops;
+ SmallVector<SDValue,
8
> Ops;
for (unsigned I = 0, E = N->getNumOperands(); I != E; ++I)
Ops.push_back(N->getOperand(I));