[llvm] [RISCV] Remove virtual from getOutliningTypeImpl override. NFC (PR #128482)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 24 00:46:02 PST 2025
    
    
  
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-risc-v
Author: Sudharsan Veeravalli (svs-quic)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/128482.diff
1 Files Affected:
- (modified) llvm/lib/Target/RISCV/RISCVInstrInfo.h (+3-4) 
``````````diff
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,
``````````
</details>
https://github.com/llvm/llvm-project/pull/128482
    
    
More information about the llvm-commits
mailing list