This patch is another step in the direction of adding vector select. In this
authorNadav Rotem <nadav.rotem@intel.com>
Wed, 1 Jun 2011 12:51:46 +0000 (12:51 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Wed, 1 Jun 2011 12:51:46 +0000 (12:51 +0000)
commitb6fbec3a546fd04bb2e79040db2436b0bd629162
tree69e0dd2fd0368f2f6fbdd2d0ed8c461c0459e21d
parent4fd0dee3bfe8a35bbb62c9e9dea511cbc06cec2d
This patch is another step in the direction of adding vector select. In this
patch we add a flag to enable a new type legalization decision - to promote
integer elements in vectors. Currently, the rest of the codegen does not support
this kind of legalization.  This flag will be removed when the transition is
complete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132394 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/Generic/promote-integers.ll [new file with mode: 0644]