summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SmallPtrSet.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-10-29 18:19:37 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-10-29 18:19:37 +0000
commit7613a7b56472bd5864ec6ef1012f714b49a49392 (patch)
tree2dab90d0488a9dd41385049d45760dae68bb4e9e /llvm/lib/Support/SmallPtrSet.cpp
parentb56fb4a2bb683b3447d8daa94b8eb02f94dc2cf9 (diff)
downloadbcm5719-llvm-7613a7b56472bd5864ec6ef1012f714b49a49392.tar.gz
bcm5719-llvm-7613a7b56472bd5864ec6ef1012f714b49a49392.zip
[SelectionDAG] Add SRA/SHL demanded elts support to ComputeNumSignBits
Introduce a isConstOrDemandedConstSplat helper function that can recognise a constant splat build vector for at least the demanded elts we care about. llvm-svn: 316866
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud