R600: Try to convert BFE back to standard bit ops when possible.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 May 2014 18:09:12 +0000 (18:09 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 May 2014 18:09:12 +0000 (18:09 +0000)
commit3c698f35e0ce7e8ecb761dab6a261b98996543f7
treea5bd9f9609a4faea62946a11ed0179422b9fd3a3
parente3ed4046729f083071ac0efcf2986c14a21207ae
R600: Try to convert BFE back to standard bit ops when possible.

This allows existing DAG combines to work on them, and then
we can re-match to BFE if necessary during instruction selection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209462 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
test/CodeGen/R600/llvm.AMDGPU.bfe.u32.ll
test/CodeGen/R600/sext-in-reg.ll
test/CodeGen/R600/udivrem64.ll