]> granicus.if.org Git - llvm/commit
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)
commitac9b651ab61335df1228feefab0d7c87b63dd200
tree30171c6160f034363926cb674da76d7ea7e0a4b5
parent074b06ad8d4af84e01033d44d3187081ab6d8e16
AMDGPU: Custom lower illegal small select types

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300754 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/select-vectors.ll