[all-commits] [llvm/llvm-project] 606f79: [IR][NFC] Adds Instruction::insertAt() for inserti...

vporpo via All-commits all-commits at lists.llvm.org
Tue Nov 29 20:15:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 606f790330bb23dffc90fd60bbb37b047f4fdad5
      https://github.com/llvm/llvm-project/commit/606f790330bb23dffc90fd60bbb37b047f4fdad5
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M llvm/include/llvm/IR/Instruction.h
    M llvm/lib/IR/Instruction.cpp
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  [IR][NFC] Adds Instruction::insertAt() for inserting at a specific point in the instr list.

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/D138875




More information about the All-commits mailing list