[PATCH] D134557: [BranchRelaxation] Fall through only if block has no unconditional branches

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 19:24:15 PDT 2022


gandhi21299 updated this revision to Diff 464875.
gandhi21299 marked 2 inline comments as done.
gandhi21299 added a comment.

- Removed braces for a single-line code block
- Changed return type of EnforceFallThrough to void


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134557/new/

https://reviews.llvm.org/D134557

Files:
  llvm/lib/CodeGen/BranchRelaxation.cpp
  llvm/test/CodeGen/AMDGPU/branch-relax-no-terminators.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134557.464875.patch
Type: text/x-patch
Size: 103918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221004/c7e4ccfd/attachment-0001.bin>


More information about the llvm-commits mailing list