Emit correct code when making a ConstantPool entry for a vector
authorDale Johannesen <dalej@apple.com>
Tue, 10 Nov 2009 23:16:41 +0000 (23:16 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 10 Nov 2009 23:16:41 +0000 (23:16 +0000)
commit9a645cd9d4c0e7d25e4b8836ed31deb5881c8101
treea740eceb6d832dc0b827950c641785faeeebbc9f
parent53bb5c95afe4ff2627cac513221af2e4e7c5d2e3
Emit correct code when making a ConstantPool entry for a vector
constant whose component type is not a legal type for the target.
(If the target ConstantPool cannot handle this type either, it has
an opportunity to merge elements.  In practice any target with
8-bit bytes must support i8 *as data*).  7320806 (partial).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86751 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/PowerPC/vec_auto_constant.ll [new file with mode: 0644]