Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BOLT] Disable last basic block assertion.
Summary: While converting code from __builtin_unreachable() we were asserting that a basic block with a conditional jump and a single CFG successor was the last one before converting the jump to an unconditional one. However, if that code was executed after a conditional tail call conversion in the same function, the original last basic block will no longer be the last one in the post-conversion layout. I'm disabling the assertion since it doesn't seem worth it to add extra checks for the basic block that used to be the last one. (cherry picked from FBD5570298)
- Loading branch information