Make TruncCombine class ignore unreachable basic blocks.
This should solve PR36134.
Differential D42683
[AggressiveInstCombine] fixed PR36134 aaboud on Jan 30 2018, 4:11 AM. Authored by
Details
Diff Detail
Event TimelineComment Actions I don't know this code but the fix makes sense to me and it makes the crash I saw go away. Comment Actions LGTM. Nit: when proposing patches and writing the commit message, make the title be more descriptive than 'Fixed Bug ###'. Ie, the title should be something like the summary text shown here: ...and then add some motivation in the summary: That lets people who are scanning the mailing list or doing bisection archaeology know quickly what this commit is doing and why. |