Enable support for vector sext and trunc:
authorNadav Rotem <nadav.rotem@intel.com>
Thu, 24 Feb 2011 21:01:34 +0000 (21:01 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Thu, 24 Feb 2011 21:01:34 +0000 (21:01 +0000)
commit8c20ec54d98176d31f310e4684d1d7f2ea0639bc
treeac3c7cf68c4c21b8c368b8a758d6a2cf0ceae0f2
parent0412d5b40a3bde02580db6e3050ada0598205716
Enable support for vector sext and trunc:
Limit the folding of any_ext and sext  into the load operation to scalars.
Limit the active-bits trunc optimization to scalars.
Document vector trunc and vector sext in LangRef.

Similar to commit 126080 (for enabling zext).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126424 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.html
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/vec_anyext.ll [new file with mode: 0644]
test/CodeGen/X86/vec_sext.ll [new file with mode: 0644]