aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-09-18 16:45:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-09-18 16:45:05 +0000
commit0b21ef1fa3d9d5796f05f3d6c64379c6fc35a9b2 (patch)
treef9706bcb452da2ac803194c3e918703895f76034 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent77d7f331dd6c5b3e484adeb00f456a06678c4ff5 (diff)
downloadllvm-0b21ef1fa3d9d5796f05f3d6c64379c6fc35a9b2.zip
llvm-0b21ef1fa3d9d5796f05f3d6c64379c6fc35a9b2.tar.gz
llvm-0b21ef1fa3d9d5796f05f3d6c64379c6fc35a9b2.tar.bz2
[SelectionDAG] Add BITCAST handling to ComputeNumSignBits for splatted sign bits.
For cases where we are BITCASTing to vectors of smaller elements, then if the entire source was a splatted sign (src's NumSignBits == SrcBitWidth) we can say that the dst's NumSignBit == DstBitWidth, as we're just splitting those sign bits across multiple elements. We could generalize this but at the moment the only use case I have is to peek through bitcasts to vector comparison results. Differential Revision: https://reviews.llvm.org/D37849 llvm-svn: 313543
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions