Unverified Commit ea86fb8c authored by Allen's avatar Allen Committed by GitHub
Browse files

[InstCombine] Fold zext-of-icmp with no shift (#68503)

This regression triggers after commit f400daae to fix infinite loop
issue.

In this case, we can known the shift count is 0, so it will not be
triggered by the form of (iN (~X) u>> (N - 1)) in commit 21d3871b, of
which N indicates the data type bitwidth of X.

Fixes https://github.com/llvm/llvm-project/issues/68465.
parent e44cfe0f
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