SelectionDAG: Optimize expansion of vec_type = BITCAST scalar_type
authorTom Stellard <thomas.stellard@amd.com>
Fri, 22 Nov 2013 00:41:05 +0000 (00:41 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Nov 2013 00:41:05 +0000 (00:41 +0000)
commit0ffcaa0d547035e2b51bc9bc147150960b70721a
tree1782cd23db8e6854c6b36568959d1942dda65f62
parentb7bad852f404f562f93e9add3e0ef8977eb3c677
SelectionDAG: Optimize expansion of vec_type = BITCAST scalar_type

The legalizer can now do this type of expansion for more
type combinations without loading and storing to and
from the stack.

NOTE: This is a candidate for the 3.4 branch.

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