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:
67352b3
)
Other parts of the SelectionDAG framework assume that targets use their pointer type...
author
Owen Anderson
<resistor@mac.com>
Mon, 2 May 2011 22:25:45 +0000
(22:25 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 2 May 2011 22:25:45 +0000
(22:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130733
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index c2711c8097d0f6e88621fa39d8085084e55b98c4..dd33205c5de576ec20af8dfd11d3979af9e9d9de 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-6304,7
+6304,7
@@
SDValue SelectionDAG::UnrollVectorOp(SDNode *N, unsigned ResNE) {
Operands[j] = getNode(ISD::EXTRACT_VECTOR_ELT, dl,
OperandEltVT,
Operand,
- getConstant(i,
MVT::i32
));
+ getConstant(i,
TLI.getPointerTy()
));
} else {
// A scalar operand; just use it as is.
Operands[j] = Operand;