AMDGPU/R600: EXTRACT_VECT_ELT should only bypass BUILD_VECTOR if the vectors have...
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 2 Sep 2016 20:13:19 +0000 (20:13 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 2 Sep 2016 20:13:19 +0000 (20:13 +0000)
commitea45746d5ae84fc8d28b0e91b4c38779015e413c
treedab03ecf8e5e9fd233fb1acdd65c31f101d3025b
parent6c4140b6c01c75494ba47db348fb0142e204f075
AMDGPU/R600: EXTRACT_VECT_ELT should only bypass BUILD_VECTOR if the vectors have the same number of elements.

Fixes R600 piglit regressions since r280298

Differential Revision: https://reviews.llvm.org/D24174

llvm-svn: 280535
llvm/lib/Target/AMDGPU/R600ISelLowering.cpp
llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.ll [moved from llvm/test/CodeGen/AMDGPU/bitcast.ll with 100% similarity]
llvm/test/CodeGen/AMDGPU/r600.bitcast.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/xfail.r600.bitcast.ll [new file with mode: 0644]