AMDGPU: Custom lower illegal small select types
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 19 Apr 2017 20:53:07 +0000 (20:53 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 19 Apr 2017 20:53:07 +0000 (20:53 +0000)
commit4a48623e4f7a6dc1ab0d5889b01c2cbd5a430655
tree6c96abc4c6fcbb8ca7f528f7476ac997f0391aaf
parentdb569bae55a8500dc15105fe27d589fc25a52588
AMDGPU: Custom lower illegal small select types

Promote them to i32 vectors to avoid unpacking and re-packing
the vectors.

llvm-svn: 300754
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/select-vectors.ll