summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-12 19:32:47 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-12 19:32:47 +0000
commitc75f94bfa5f758801f61bcea0eff9aa5cbff99ac (patch)
treea43e3424d859b08c7b00715fac3590b37e2b4a71 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcf3641fd5704076e018cdc39e0eb53e4dc515d6c (diff)
downloadbcm5719-llvm-c75f94bfa5f758801f61bcea0eff9aa5cbff99ac.tar.gz
bcm5719-llvm-c75f94bfa5f758801f61bcea0eff9aa5cbff99ac.zip
[InstCombine] Teach SimplifyMultipleUseDemandedBits to handle And/Or/Xor known bits using the LHS/RHS known bits it already acquired without recursing back into computeKnownBits.
This replicates the known bits and constant creation code from the single use case for these instructions and adds it here. The computeKnownBits and constant creation code for other instructions is now in the default case of the opcode switch. llvm-svn: 300094
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud