summaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-02-27 10:18:23 +0000
committerDuncan Sands <baldrick@free.fr>2008-02-27 10:18:23 +0000
commit4f069e6db1772a7e6cd8bfc360d819b56557badc (patch)
treeea41adb2304c6997c98d482de53a36891adc8196 /include/llvm/CodeGen
parentbe680dcea6858c438c6615326ae1c098ff448ae1 (diff)
downloadexternal_llvm-4f069e6db1772a7e6cd8bfc360d819b56557badc.zip
external_llvm-4f069e6db1772a7e6cd8bfc360d819b56557badc.tar.gz
external_llvm-4f069e6db1772a7e6cd8bfc360d819b56557badc.tar.bz2
LegalizeTypes support for INSERT_VECTOR_ELT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 56645f7..c467967 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -283,7 +283,8 @@ namespace ISD {
BUILD_VECTOR,
/// INSERT_VECTOR_ELT(VECTOR, VAL, IDX) - Returns VECTOR with the element
- /// at IDX replaced with VAL.
+ /// at IDX replaced with VAL. If the type of VAL is larger than the vector
+ /// element type then VAL is truncated before replacement.
INSERT_VECTOR_ELT,
/// EXTRACT_VECTOR_ELT(VECTOR, IDX) - Returns a single element from VECTOR