Unverified Commit 61785ffc authored by Rahman Lavaee's avatar Rahman Lavaee Committed by GitHub
Browse files

Do not remove empty basic blocks which have address taken. (#67740)

This PR replaces `isMachineBlockAddressTaken` by `hasAddressTaken` to
include blocks which have their IR address taken as well. These blocks
are also not removable since their predecessors' terminators do not
directly point to the block.
parent b855ae99
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