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)
commit0a1753ac2dd6bf54c9c7961df4cfd013b566bb8a
treeef1626d582e378d92b0566afbb008a19b22916b1
parentaddbabf0a8052be8c55cc995b4fdc69565f9199e
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338127 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUInstructions.td
test/CodeGen/AMDGPU/r600.extract-lowbits.ll [new file with mode: 0644]