diff options
author | Vasileios Porpodas <vporpodas@google.com> | 2022-12-14 17:42:26 -0800 |
---|---|---|
committer | Vasileios Porpodas <vporpodas@google.com> | 2022-12-15 12:27:45 -0800 |
commit | 32b38d248fd3c75abc5c86ab6677b6cb08a703cc (patch) | |
tree | 98ecfc584abe0868a651af0360bd2597b9bbb66b /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | |
parent | e0f2150e99e5e429c33047f25e3da2ab146d0f57 (diff) | |
download | llvm-32b38d248fd3c75abc5c86ab6677b6cb08a703cc.zip llvm-32b38d248fd3c75abc5c86ab6677b6cb08a703cc.tar.gz llvm-32b38d248fd3c75abc5c86ab6677b6cb08a703cc.tar.bz2 |
[NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be consistent with BasicBlock::insertInto()
Differential Revision: https://reviews.llvm.org/D140085
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp index 9568c66..096faad 100644 --- a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp +++ b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp @@ -1837,7 +1837,7 @@ BranchInst *CHR::createMergedBranch(BasicBlock *PreEntryBlock, BranchInst *NewBR = BranchInst::Create(NewEntryBlock, cast<BasicBlock>(VMap[NewEntryBlock]), ConstantInt::getTrue(F.getContext())); - NewBR->insertAt(PreEntryBlock, PreEntryBlock->end()); + NewBR->insertInto(PreEntryBlock, PreEntryBlock->end()); assert(NewEntryBlock->getSinglePredecessor() == EntryBlock && "NewEntryBlock's only pred must be EntryBlock"); return NewBR; |