Unverified Commit 117d755b authored by Simon Pilgrim's avatar Simon Pilgrim Committed by GitHub
Browse files

[DAG] SimplifyDemandedBits - use ComputeKnownBits instead of...

[DAG] SimplifyDemandedBits - use ComputeKnownBits instead of getValidShiftAmountConstant to check for constant shift amounts. (#92412)

This allows us to handle cases where the constant has already been type legalized behind a bitcast

Despite calling ComputeKnownBits I'm not seeing any notable change in compile time.
parent 309a881d
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