[all-commits] [llvm/llvm-project] 3259ca: [IR][NFC] Adds BasicBlock::erase().

vporpo via All-commits all-commits at lists.llvm.org
Thu Dec 1 17:48:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3259caefb3b16213b41f8d7b9e85a0b04f0c1f13
      https://github.com/llvm/llvm-project/commit/3259caefb3b16213b41f8d7b9e85a0b04f0c1f13
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M llvm/include/llvm/IR/BasicBlock.h
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/unittests/IR/BasicBlockTest.cpp

  Log Message:
  -----------
  [IR][NFC] Adds BasicBlock::erase().

Currently the only way to do this is to work with the instruction list directly.
This is part of a series of cleanup patches towards making BasicBlock::getInstList() private.

Differential Revision: https://reviews.llvm.org/D139142




More information about the All-commits mailing list