[all-commits] [llvm/llvm-project] d06418: [SimplifyCFG] Tail-merging all blocks with `resume...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Thu Jun 24 11:26:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0641826121d61cbf688dc8cd4bd368939292689
https://github.com/llvm/llvm-project/commit/d0641826121d61cbf688dc8cd4bd368939292689
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2021-06-24 (Thu, 24 Jun 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
M llvm/test/Transforms/SimplifyCFG/tail-merge-resume.ll
Log Message:
-----------
[SimplifyCFG] Tail-merging all blocks with `resume` terminator
Similar to what we already do for `ret` terminators.
As noted by @rnk, clang seems to already generate a single `ret`/`resume`,
so this isn't likely to cause widespread changes.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D104849
More information about the All-commits
mailing list