[llvm] 35c90bf - [RISCV] Remove virtual from getOutliningTypeImpl override. NFC (#128482)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 02:00:43 PST 2025


Author: Sudharsan Veeravalli
Date: 2025-02-24T15:30:37+05:30
New Revision: 35c90bfdda0d7021c7ec7e6603e5b5753fcc8069

URL: https://github.com/llvm/llvm-project/commit/35c90bfdda0d7021c7ec7e6603e5b5753fcc8069
DIFF: https://github.com/llvm/llvm-project/commit/35c90bfdda0d7021c7ec7e6603e5b5753fcc8069.diff

LOG: [RISCV] Remove virtual from getOutliningTypeImpl override. NFC (#128482)

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.h b/llvm/lib/Target/RISCV/RISCVInstrInfo.h
index afbc8df50b452..95d79da771dd8 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.h
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.h
@@ -217,10 +217,9 @@ class RISCVInstrInfo : public RISCVGenInstrInfo {
       unsigned MinRepeats) const override;
 
   // Return if/how a given MachineInstr should be outlined.
-  virtual outliner::InstrType
-  getOutliningTypeImpl(const MachineModuleInfo &MMI,
-                       MachineBasicBlock::iterator &MBBI,
-                       unsigned Flags) const override;
+  outliner::InstrType getOutliningTypeImpl(const MachineModuleInfo &MMI,
+                                           MachineBasicBlock::iterator &MBBI,
+                                           unsigned Flags) const override;
 
   // Insert a custom frame for outlined functions.
   void buildOutlinedFrame(MachineBasicBlock &MBB, MachineFunction &MF,


        


More information about the llvm-commits mailing list