Skip to content
Commit 7fbf72a1 authored by Max Kazantsev's avatar Max Kazantsev
Browse files

[ValueTracking][NFC] Factor out computeKnownBitsFromCmp

Separate the part which is specific for assume intrinsic from the part which only requires an icmp,
so that the latter could be reused for other purposes (e.g. in dominating conditions).

Differential Revision: https://reviews.llvm.org/D149940
Reviewed By: nikic
parent e8fb478f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment