Commit 991855ea authored by Maksim Kita's avatar Maksim Kita
Browse files

[InstCombine] Improve foldOpIntoPhi() to use isImpliedCondition

Improve foldOpIntoPhi() for icmp operator to check if incoming PHI value can be replaced with constant based on implied condition.

Depends on D156619.

Differential Revision: https://reviews.llvm.org/D156620
parent 2c4e1df9
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