aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-06-03 15:56:28 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-06-03 16:11:54 +0100
commitea80b40669457d474e79bec1131f2b56cd795893 (patch)
treef1ab70a843b31540a886cd76ea14ee3c5d733f38 /llvm/lib/CodeGen/LiveVariables.cpp
parent04abbb3a78186aa92809866b43217c32cba90b71 (diff)
downloadllvm-ea80b40669457d474e79bec1131f2b56cd795893.zip
llvm-ea80b40669457d474e79bec1131f2b56cd795893.tar.gz
llvm-ea80b40669457d474e79bec1131f2b56cd795893.tar.bz2
[DAG] SimplifyDemandedBits - peek through SHL if we only demand sign bits.
If we're only demanding the (shifted) sign bits of the shift source value, then we can use the value directly. This handles SimplifyDemandedBits/SimplifyMultipleUseDemandedBits for both ISD::SHL and X86ISD::VSHLI. Differential Revision: https://reviews.llvm.org/D80869
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions