diff options
author | Kazu Hirata <kazu@google.com> | 2022-02-06 22:18:35 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-02-06 22:18:35 -0800 |
commit | 3a3cb929ab6fd69ea7d5db42db613a4701fa4669 (patch) | |
tree | 2ec87878da9b43c38c832eed4625d75f38960313 /llvm/lib/MCA | |
parent | 1391f91b1f62b9510e4b71737aac2b45d0c4d6cd (diff) | |
download | llvm-3a3cb929ab6fd69ea7d5db42db613a4701fa4669.zip llvm-3a3cb929ab6fd69ea7d5db42db613a4701fa4669.tar.gz llvm-3a3cb929ab6fd69ea7d5db42db613a4701fa4669.tar.bz2 |
[llvm] Use = default (NFC)
Diffstat (limited to 'llvm/lib/MCA')
-rw-r--r-- | llvm/lib/MCA/CustomBehaviour.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/MCA/HardwareUnits/LSUnit.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MCA/CustomBehaviour.cpp b/llvm/lib/MCA/CustomBehaviour.cpp index a9ea8ed..a10a2f5 100644 --- a/llvm/lib/MCA/CustomBehaviour.cpp +++ b/llvm/lib/MCA/CustomBehaviour.cpp @@ -16,7 +16,7 @@ namespace llvm { namespace mca { -CustomBehaviour::~CustomBehaviour() {} +CustomBehaviour::~CustomBehaviour() = default; unsigned CustomBehaviour::checkCustomHazard(ArrayRef<InstRef> IssuedInst, const InstRef &IR) { diff --git a/llvm/lib/MCA/HardwareUnits/LSUnit.cpp b/llvm/lib/MCA/HardwareUnits/LSUnit.cpp index 121d320..bafed9b 100644 --- a/llvm/lib/MCA/HardwareUnits/LSUnit.cpp +++ b/llvm/lib/MCA/HardwareUnits/LSUnit.cpp @@ -39,7 +39,7 @@ LSUnitBase::LSUnitBase(const MCSchedModel &SM, unsigned LQ, unsigned SQ, } } -LSUnitBase::~LSUnitBase() {} +LSUnitBase::~LSUnitBase() = default; void LSUnitBase::cycleEvent() { for (const std::pair<unsigned, std::unique_ptr<MemoryGroup>> &G : Groups) |