[llvm] 03b7ee5 - [NFC][NVPTX] Remove dead override
Luke Drummond via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 23 05:49:42 PST 2022
Author: Luke Drummond
Date: 2022-12-23T13:48:07Z
New Revision: 03b7ee507562c525b23fdb9b7ec968ba231dbae6
URL: https://github.com/llvm/llvm-project/commit/03b7ee507562c525b23fdb9b7ec968ba231dbae6
DIFF: https://github.com/llvm/llvm-project/commit/03b7ee507562c525b23fdb9b7ec968ba231dbae6.diff
LOG: [NFC][NVPTX] Remove dead override
After 68f2218e1e, NVPTXTargetObjectFile::Initialize is an empty wrapper
of the parent method. Get rid of it.
Differential Revision: https://reviews.llvm.org/D140397
Added:
Modified:
llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h b/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
index 37b0a44243cb..6b68e79fabc2 100644
--- a/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
+++ b/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
@@ -21,10 +21,6 @@ class NVPTXTargetObjectFile : public TargetLoweringObjectFile {
~NVPTXTargetObjectFile() override;
- void Initialize(MCContext &ctx, const TargetMachine &TM) override {
- TargetLoweringObjectFile::Initialize(ctx, TM);
- }
-
MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
const Constant *C,
Align &Alignment) const override {
More information about the llvm-commits
mailing list