[PATCH] D140397: [NFC][NVPTX] Remove dead override
Luke Drummond via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 06:55:20 PST 2022
ldrumm created this revision.
ldrumm added reviewers: tra, echristo.
Herald added subscribers: mattd, gchakrabarti, asavonic, hiraditya.
Herald added a project: All.
ldrumm requested review of this revision.
Herald added a subscriber: jholewinski.
Herald added a project: LLVM.
After 68f2218e1e, NVPTXTargetObjectFile::Initialize is an empty wrapper
of the parent method. Get rid of it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140397
Files:
llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
Index: llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
===================================================================
--- llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
+++ llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
@@ -21,10 +21,6 @@
~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 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140397.484257.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221220/6df59454/attachment.bin>
More information about the llvm-commits
mailing list