Skip to content
Commit 8faad296 authored by Jay Foad's avatar Jay Foad
Browse files

Revert "[Local] invertCondition: try modifying an existing ICmpInst"

This reverts commit a6b54dda.

Apparently it is not safe to modify the condition even if it passes the
hasOneUse test, because StructurizeCFG might have other references to
the condition that are not manifest in the IR use-def chains.
parent 002b944d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment