summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-25 18:33:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-25 18:33:21 +0000
commit15f269afa32276529b4fff3c0af49da1e335928b (patch)
tree2170fe4b65977e6f8d4d060a106876fba38ab14d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parentd3ccc073a24690b572dc6cac467ac870436ca5a1 (diff)
downloadbcm5719-llvm-15f269afa32276529b4fff3c0af49da1e335928b.tar.gz
bcm5719-llvm-15f269afa32276529b4fff3c0af49da1e335928b.zip
This was lefted out. Fixed sumarray-dbl.
llvm-svn: 36445
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 7a62da55712..80cb25e3c34 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud