Unverified Commit 7c0d52ca authored by Nikita Popov's avatar Nikita Popov Committed by GitHub
Browse files

[ValueTracking] Support dominating known bits condition in and/or (#74728)

This extends computeKnownBits() support for dominating conditions to
also handle and/or conditions. We'll look through either and or or
depending on which edge we're considering.

This change is mainly for the sake of completeness, so we don't start
missing optimizations if SimplifyCFG decides to merge some branches.
parent 35d6ae81
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment