R600/SI: Fix insertelement with dynamic indices.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 2 Feb 2014 00:05:35 +0000 (00:05 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 2 Feb 2014 00:05:35 +0000 (00:05 +0000)
commitb2abb9752eaba1395b5b6773fbf645036eb992f2
tree698fdb39539e3c8775dca90288f7502e185fa054
parenteb97c0499bda650d84bba2079d4007a4d3ec0246
R600/SI: Fix insertelement with dynamic indices.

This didn't work for any integer vectors, and didn't
work with some sizes of float vectors. This should now
work with all sizes of float and i32 vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200619 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/insert_vector_elt.ll