aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-08-13 15:35:01 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-08-13 15:45:03 +0300
commit2702fb11484a6f5d99c712a0e92c221288955c56 (patch)
tree9e2cbd987a53d3b362bf50ce9ace68ffe3e8f188 /clang/lib/Frontend/CompilerInvocation.cpp
parentcb7c01889ec21accc12b2c19a395b521e3b959a3 (diff)
downloadllvm-2702fb11484a6f5d99c712a0e92c221288955c56.zip
llvm-2702fb11484a6f5d99c712a0e92c221288955c56.tar.gz
llvm-2702fb11484a6f5d99c712a0e92c221288955c56.tar.bz2
[SimplifyCFG] Restart if `removeUndefIntroducingPredecessor()` made changes
It might changed the condition of a branch into a constant, so we should restart and constant-fold terminator, instead of continuing with the tautological "conditional" branch. This fixes the issue reported at https://reviews.llvm.org/rGf30a7dff8a5b32919951dcbf92e4a9d56c4679ff
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions