diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2022-01-11 08:56:26 +0300 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2022-01-11 19:08:19 +0300 |
commit | 962e8d9976c5cbc30ff65e675a6c4470a20803c7 (patch) | |
tree | 228c22577c78a568f48478cdeb358c56202ee58e | |
parent | 4eda7be15a11c08b83eafe70c2c096d06ddfd2e5 (diff) | |
download | llvm-962e8d9976c5cbc30ff65e675a6c4470a20803c7.tar.gz |
[mips] Use `push_back` to insert element at the end of a container. NFC
-rw-r--r-- | llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp b/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp index f807f47849f0..cf6cec22308c 100644 --- a/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp @@ -314,7 +314,7 @@ static void insertDelayFiller(Iter Filler, const BB2BrMap &BrMap) { MIBundleBuilder(I.second).append(MF->CloneMachineInstr(&*Filler)); ++UsefulSlots; } else { - I.first->insert(I.first->end(), MF->CloneMachineInstr(&*Filler)); + I.first->push_back(MF->CloneMachineInstr(&*Filler)); } } } |