[PATCH] D134557: [BranchRelaxation] Fall through only if block has no unconditional branches
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 21:05:23 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/BranchRelaxation.cpp:510
+ } else {
+ report_fatal_error("Could not analyze terminators.");
}
----------------
Can just move this up as
```
if (analyzeBranch())
report_fatal_error
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134557/new/
https://reviews.llvm.org/D134557
More information about the llvm-commits
mailing list