R600: Fix miscompiles when BFE has multiple uses
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 15 Oct 2014 17:58:34 +0000 (17:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 15 Oct 2014 17:58:34 +0000 (17:58 +0000)
commit7fdd553b6622b759e8bbdda3c55cd5e4246fe65c
tree9d6ca961c2eb8a25dc849bf30bacb2fa19bb628b
parentddcfe814598129aba3502e49598553d3eda57689
R600: Fix miscompiles when BFE has multiple uses

SimplifyDemandedBits would break the other uses of the operand.

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