[PATCH] D89423: Explicitly check for entry basic block, rather than relying on MachineBasicBlock::pred_empty.

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 14:54:20 PDT 2020


rahmanl updated this revision to Diff 299182.
rahmanl marked 2 inline comments as done.
rahmanl added a comment.

- Better comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89423

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/include/llvm/CodeGen/MachineBasicBlock.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/test/CodeGen/X86/basic-block-sections-unreachable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89423.299182.patch
Type: text/x-patch
Size: 6674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/270009df/attachment-0001.bin>


More information about the llvm-commits mailing list