Unverified Commit 0dacba3a authored by Florian Hahn's avatar Florian Hahn
Browse files

[VPlan] Handle truncating ICMPs in truncateToMinimalBWs.

Update truncateToMinimalBitwidths to handle truncating ICMPs. For ICMPs,
the new target type will be the same as the original type. In that case,
only truncate the operands, but skip the extend. This is in line with
what the original truncateToMinimalBitwidths did for compares.

Fixes https://github.com/llvm/llvm-project/issues/81415.
parent 9e5da05d
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