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:
68c01b3
)
This was lefted out. Fixed sumarray-dbl.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 25 Apr 2007 18:33:21 +0000
(18:33 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 25 Apr 2007 18:33:21 +0000
(18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36445
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 7a62da55712bec6c00324a657305728c939eae0a..80cb25e3c34b19a03da5224dc9967b182789cd1e 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-315,6
+315,7
@@
unsigned FunctionLoweringInfo::CreateRegForValue(const Value *V) {
while (NumElts > 1 && !TLI.isTypeLegal(VecTy)) {
NumElts >>= 1;
NumVectorRegs <<= 1;
+ VecTy = getVectorType(EltTy, NumElts);
}
// Check that VecTy isn't a 1-element vector.