Skip to content
Commit cc845e9d authored by Noah Goldstein's avatar Noah Goldstein Committed by Nikita Popov
Browse files

[InstCombine] Handle assume(X & Pow2 != 0) in computeKnownBits()

If we know that X & Pow2 != 0, then the bit at that position is
known one.

Differential Revision: https://reviews.llvm.org/D140851
parent 43cf2f81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment