diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-12-10 13:06:23 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-12-10 13:10:26 -0500 |
commit | 4f051fe37438632d10480c346520a0de624dbebf (patch) | |
tree | 5e25a5e93b6b76ee4ed5ff2c849f6cb69e27a36b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 12b684ae02226f7785d3fb412fb155d4e15cc9bd (diff) | |
download | llvm-4f051fe37438632d10480c346520a0de624dbebf.zip llvm-4f051fe37438632d10480c346520a0de624dbebf.tar.gz llvm-4f051fe37438632d10480c346520a0de624dbebf.tar.bz2 |
[InstCombine] avoid crash sinking to unreachable block
The test is reduced from the example in D82005.
Similar to 94f6d365e, the test here would assert in
the DomTree when we tried to convert a select to a
phi with an unreachable block operand.
We may want to add some kind of guard code in DomTree
itself to avoid this sort of problem.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions