Unverified Commit 2815429d authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[NFC][SimplifyCFG] HoistThenElseCodeToIf(): after hoisting terminator, do...

[NFC][SimplifyCFG] HoistThenElseCodeToIf(): after hoisting terminator, do return Changed, not just true

Otherwise, if Changed was still false before that,
we would not account for that hoist in NumHoistCommonCode statistic.
parent 62828865
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