[PATCH] D107534: Add a pass to garbage-collect empty basic blocks after code generation.

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 11:04:44 PDT 2023


rahmanl updated this revision to Diff 551194.
rahmanl added a comment.

Remove redundant check, refactor, rebase.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107534

Files:
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/GCEmptyBasicBlocks.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/test/CodeGen/X86/basic-block-sections-labels-empty-block.ll
  llvm/test/CodeGen/X86/gc-empty-blocks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107534.551194.patch
Type: text/x-patch
Size: 8356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230817/42283fd9/attachment.bin>


More information about the llvm-commits mailing list