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:
50f2f38
)
Since build_vector is a variadic node, the number
author
Duncan Sands
<baldrick@free.fr>
Mon, 28 Jul 2008 19:17:21 +0000
(19:17 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 28 Jul 2008 19:17:21 +0000
(19:17 +0000)
of operands should be -1 not 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54141
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetSelectionDAG.td
patch
|
blob
|
history
diff --git
a/lib/Target/TargetSelectionDAG.td
b/lib/Target/TargetSelectionDAG.td
index 83bb3e04eb6e32d23d0aea547d03b825213c01cc..5dba0bc9c058ac62795b801b0e0e8628b285c81a 100644
(file)
--- a/
lib/Target/TargetSelectionDAG.td
+++ b/
lib/Target/TargetSelectionDAG.td
@@
-389,7
+389,7
@@
def ist : SDNode<"ISD::STORE" , SDTIStore,
[SDNPHasChain, SDNPMayStore, SDNPMemOperand]>;
def vector_shuffle : SDNode<"ISD::VECTOR_SHUFFLE", SDTVecShuffle, []>;
-def build_vector : SDNode<"ISD::BUILD_VECTOR", SDTypeProfile<1,
0
, []>, []>;
+def build_vector : SDNode<"ISD::BUILD_VECTOR", SDTypeProfile<1,
-1
, []>, []>;
def scalar_to_vector : SDNode<"ISD::SCALAR_TO_VECTOR", SDTypeProfile<1, 1, []>,
[]>;
def vector_extract : SDNode<"ISD::EXTRACT_VECTOR_ELT",