Fix PR13859
authorMichael Liao <michael.liao@intel.com>
Mon, 17 Sep 2012 18:05:20 +0000 (18:05 +0000)
committerMichael Liao <michael.liao@intel.com>
Mon, 17 Sep 2012 18:05:20 +0000 (18:05 +0000)
commitbb7300224738e65f9a9945dc7df2f360b1d4feb6
tree1d80227c92012a41ce588ac204430262fdda3e5b
parent9bb938c5401db90817d16b32fa078066fb586551
Fix PR13859

- Preserve the original NOutVT during casting from vector to integer by
  extracting vector elements.

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