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:
b502440
)
Correct a comment - this is not a sign extension.
author
Duncan Sands
<baldrick@free.fr>
Tue, 13 Jan 2009 14:04:14 +0000
(14:04 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 13 Jan 2009 14:04:14 +0000
(14:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62166
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 2a0b408fc8daab54cf69c0fc14b8581e9dfbf95c..45df410ae2c1c27d0dd4c9f82f2ba9d32117347d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@
-329,7
+329,7
@@
SDValue DAGTypeLegalizer::PromoteIntRes_EXTRACT_VECTOR_ELT(SDNode *N) {
if (TLI.isBigEndian())
std::swap(Lo, Hi);
- //
Signed e
xtend to the promoted type.
+ //
E
xtend to the promoted type.
SDValue Odd = DAG.getNode(ISD::TRUNCATE, MVT::i1, OldIdx);
SDValue Res = DAG.getNode(ISD::SELECT, NewVT, Odd, Hi, Lo);
return DAG.getNode(ISD::ANY_EXTEND, TLI.getTypeToTransformTo(OldVT), Res);