From 32b38d248fd3c75abc5c86ab6677b6cb08a703cc Mon Sep 17 00:00:00 2001 From: Vasileios Porpodas Date: Wed, 14 Dec 2022 17:42:26 -0800 Subject: [NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be consistent with BasicBlock::insertInto() Differential Revision: https://reviews.llvm.org/D140085 --- llvm/unittests/Analysis/MemorySSATest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/unittests/Analysis/MemorySSATest.cpp') diff --git a/llvm/unittests/Analysis/MemorySSATest.cpp b/llvm/unittests/Analysis/MemorySSATest.cpp index f5d8b57..50a7d76 100644 --- a/llvm/unittests/Analysis/MemorySSATest.cpp +++ b/llvm/unittests/Analysis/MemorySSATest.cpp @@ -282,7 +282,7 @@ TEST_F(MemorySSATest, SinkLoad) { // - remove from original block LoadInst *LoadInstClone = cast(LoadInst1->clone()); - LoadInstClone->insertAt(Merge, Merge->begin()); + LoadInstClone->insertInto(Merge, Merge->begin()); MemoryAccess * NewLoadAccess = Updater.createMemoryAccessInBB(LoadInstClone, nullptr, LoadInstClone->getParent(), -- cgit v1.1