We were not correctly splitting a blocks for chains of length 1.
This supersedes D92364.
Test case by MaskRay (Fangrui Song).
Differential D92375
[MergeICmps] Fix missing split. courbet on Dec 1 2020, 2:32 AM. Authored by
Details
We were not correctly splitting a blocks for chains of length 1. This supersedes D92364. Test case by MaskRay (Fangrui Song).
Diff Detail
Unit Tests Event Timeline
Comment Actions Oh -- if it's not too late, can you fix the commit message before pushing -- it could probably do with a little more explanation. Comment Actions As a follow-up, would be good adding some tests where the pointer operand of a GEP references an instruction defined in a basic block. Currently in all tests the pointer operands refer to arguments. |
clang-tidy: warning: 'const auto ToSplit' can be declared as 'const auto *const ToSplit' [llvm-qualified-auto]
not useful