summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MIUtilString.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-02-25 16:31:58 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-02-25 16:31:58 +0000
commit80d0e9c563d9628da8d194cbb5096eabffb07bff (patch)
treea9c6d1f98fa7e773b67468f6719cd69887c31489 /lldb/tools/lldb-mi/MIUtilString.cpp
parent8a7f4c98913b4fd6253768a50116eedf99b79832 (diff)
downloadbcm5719-llvm-80d0e9c563d9628da8d194cbb5096eabffb07bff.tar.gz
bcm5719-llvm-80d0e9c563d9628da8d194cbb5096eabffb07bff.zip
[SelectionDAG] Add demanded elts variants to isConstOrConstSplat helpers. NFCI.
These helpers extend the existing isConstOrConstSplat helper checks to support DemandedElts masks as well. We already had a local version of this in SelectionDAG that computeKnownBits/ComputeNumSignBits made use of, but this adds the functionality directly to the BuildVectorSDNode node and extends isConstOrConstSplat etc. to use that. This will allow us to reuse the functionality in SimplifyDemandedVectorElts/SimplifyDemandedBits. Differential Revision: https://reviews.llvm.org/D58503 llvm-svn: 354797
Diffstat (limited to 'lldb/tools/lldb-mi/MIUtilString.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud