R600/SI: Fix selection failure on scalar_to_vector
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 11 Jun 2014 17:40:32 +0000 (17:40 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 11 Jun 2014 17:40:32 +0000 (17:40 +0000)
commita2dca4cc0467dd2bbde1df89dab56380fe751a92
tree836add4705c69614499fffcd392c0f1e2f71fb00
parent55c8ec658833d5b65c3e823e12f93da88a78042b
R600/SI: Fix selection failure on scalar_to_vector

There seem to be only 2 places that produce these,
and it's kind of tricky to hit them.

Also fixes failure to bitcast between i64 and v2f32,
although this for some reason wasn't actually broken in the
simple bitcast testcase, but did in the scalar_to_vector one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210664 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelDAGToDAG.cpp
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/bitcast.ll
test/CodeGen/R600/scalar_to_vector.ll [new file with mode: 0644]