[all-commits] [llvm/llvm-project] fb9ed1: [IR] Add BasicBlock::isEntryBlock() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 15 03:42:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb9ed1979a712a86c246dc136f8134e8e97a883c
      https://github.com/llvm/llvm-project/commit/fb9ed1979a712a86c246dc136f8134e8e97a883c
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-15 (Sat, 15 May 2021)

  Changed paths:
    M llvm/include/llvm/IR/BasicBlock.h
    M llvm/lib/Analysis/CFG.cpp
    M llvm/lib/Analysis/CaptureTracking.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/MemorySSA.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [IR] Add BasicBlock::isEntryBlock() (NFC)

This is a recurring and somewhat awkward pattern. Add a helper
method for it.




More information about the All-commits mailing list