[llvm] bcbffe4 - [AMDGPU] Remove redundant member initialization
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 21:44:41 PDT 2023
Author: Kazu Hirata
Date: 2023-08-11T21:44:31-07:00
New Revision: bcbffe4f33e9990bb5e86c18e205a01d52f590b1
URL: https://github.com/llvm/llvm-project/commit/bcbffe4f33e9990bb5e86c18e205a01d52f590b1
DIFF: https://github.com/llvm/llvm-project/commit/bcbffe4f33e9990bb5e86c18e205a01d52f590b1.diff
LOG: [AMDGPU] Remove redundant member initialization
Added:
Modified:
llvm/lib/Target/AMDGPU/SIInstrInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h
index d42f2ab46168c4..3c8b7cf2e1a8ed 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h
@@ -43,7 +43,7 @@ static const MachineMemOperand::Flags MONoClobber =
/// Utility to store machine instructions worklist.
struct SIInstrWorklist {
- SIInstrWorklist() : InstrList() {}
+ SIInstrWorklist() = default;
void insert(MachineInstr *MI);
More information about the llvm-commits
mailing list