summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-07-29 14:50:25 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-07-29 14:50:25 +0000
commit718cb0ea6288794de5b6138a958df0ee4b865a8f (patch)
tree32ede29417de70a2825eda75e3ccf72325ad13b4 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent670a5d88a3cfca6c2f569e9edd5a931803f15eff (diff)
downloadbcm5719-llvm-718cb0ea6288794de5b6138a958df0ee4b865a8f.tar.gz
bcm5719-llvm-718cb0ea6288794de5b6138a958df0ee4b865a8f.zip
[SelectionDAG][X86] CombineBT - more aggressively determine demanded bits
This patch is in 2 parts: 1 - replace combineBT's use of SimplifyDemandedBits (hasOneUse only) with SelectionDAG::GetDemandedBits to more aggressively determine the lower bits used by BT. 2 - update SelectionDAG::GetDemandedBits to support ANY_EXTEND - if the demanded bits are only in the non-extended portion, then peek through and demand from the source value and then ANY_EXTEND that if we found a match. Differential Revision: https://reviews.llvm.org/D35896 llvm-svn: 309486
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud