diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-31 19:21:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-31 19:21:16 +0000 |
commit | 1eda6e79249d2e5b8ff0593feeb623d2a0a7f237 (patch) | |
tree | 8db54b35b52658c4707d3e708d6a932d5d8b4783 | |
parent | 9f7e1271336954d5319189c64f96bf187bb55cd9 (diff) | |
download | external_llvm-1eda6e79249d2e5b8ff0593feeb623d2a0a7f237.zip external_llvm-1eda6e79249d2e5b8ff0593feeb623d2a0a7f237.tar.gz external_llvm-1eda6e79249d2e5b8ff0593feeb623d2a0a7f237.tar.bz2 |
Add vector_extract and vector_insert nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27303 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/TargetSelectionDAG.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td index d00b59d..0260840 100644 --- a/lib/Target/TargetSelectionDAG.td +++ b/lib/Target/TargetSelectionDAG.td @@ -310,6 +310,10 @@ def vector_shuffle : SDNode<"ISD::VECTOR_SHUFFLE", SDTVecShuffle, []>; def build_vector : SDNode<"ISD::BUILD_VECTOR", SDTypeProfile<1, 0, []>, []>; def scalar_to_vector : SDNode<"ISD::SCALAR_TO_VECTOR", SDTypeProfile<1, 1, []>, []>; +def vector_extract : SDNode<"ISD::EXTRACT_VECTOR_ELT", + SDTypeProfile<1, 2, []>, []>; +def vector_insert : SDNode<"ISD::INSERT_VECTOR_ELT", + SDTypeProfile<1, 3, []>, []>; // Nodes for intrinsics, you should use the intrinsic itself and let tblgen use // these internally. Don't reference these directly. |