AMDGPU/R600: Add MOV instructions to BFE patterns
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 27 Jul 2018 15:00:13 +0000 (15:00 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 27 Jul 2018 15:00:13 +0000 (15:00 +0000)
commit6ff58ed5ca6f9e964592c11af5aae9e4f9b39ab5
tree86f951b9155eb063eed717b260b6eb7d12c495c4
parenta703b8dc71fc574dfd921a0215289bdd7f18fc92
AMDGPU/R600: Add MOV instructions to BFE patterns

R600 can't handle immediates for BFE, these will be eliminated later.
Fixes powr/pow regressions n r600 since r334817

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

llvm-svn: 338127
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/test/CodeGen/AMDGPU/r600.extract-lowbits.ll [new file with mode: 0644]