aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-06-23 14:28:51 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-06-23 14:33:18 +0300
commitff4b1d379f3f3d2dfd9f9b4fc5715676024b8024 (patch)
treebb8c9f04ac0932e6c21c92c1a9dbd0741ec7129f /clang/lib/Frontend/CompilerInvocation.cpp
parent24037c37b6c4043faae7bf396b735e1ba36e46e0 (diff)
downloadllvm-ff4b1d379f3f3d2dfd9f9b4fc5715676024b8024.zip
llvm-ff4b1d379f3f3d2dfd9f9b4fc5715676024b8024.tar.gz
llvm-ff4b1d379f3f3d2dfd9f9b4fc5715676024b8024.tar.bz2
[NFCI-ish][SimplifyCFGPass] Rework and generalize `ret` block tail-merging
This changes the approach taken to tail-merge the blocks to always create a new block instead of trying to reuse some block, and generalizes it to support dealing not with just the `ret` in the future. This effectively lifts the CallBr restriction, although this isn't really intentional. That is the only non-NFC change here, i'm not sure if it's reasonable/feasible to temporarily retain it. Other restrictions of the transform remain. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D104598
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions