Skip to content
Commit 7261655d authored by Amir Ayupov's avatar Amir Ayupov Committed by Maksim Panchenko
Browse files

[BOLT] Tail Duplication: skip unreachable blocks

Summary:
TailDuplication::isInCacheLine makes the assumption that the block
has a valid layout index, which is not the case for unreachable blocks.
Add a check for a valid layout index.

(cherry picked from FBD32659755)
parent 4e4ef2f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment