dag combine sext(setcc) -> vsetcc before legalize. To make this safe,
authorChris Lattner <sabre@nondot.org>
Wed, 8 Jul 2009 00:31:33 +0000 (00:31 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Jul 2009 00:31:33 +0000 (00:31 +0000)
commit2b7a271c713ff1db83990f691126bc33d6c59b52
tree3ca1809851786fbd67edae8a390aa2045516e1ad
parent8e5a084d47e872a4b4228272d0246facb839e9fb
dag combine sext(setcc) -> vsetcc before legalize.  To make this safe,
VSETCC must define all bits, which is different than it was documented
to before.  Since all targets that implement VSETCC already have this
behavior, and we don't optimize based on this, just change the
documentation.  We now get nice code for vec_compare.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74978 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/vec_compare.ll