[llvm] 74dcc2d - [PowerPC] Silence -Woverloaded-virtual warning. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 15:49:03 PST 2023


Author: Craig Topper
Date: 2023-11-22T15:45:20-08:00
New Revision: 74dcc2da62a815b55a37fb8d0e193c0af08d09a1

URL: https://github.com/llvm/llvm-project/commit/74dcc2da62a815b55a37fb8d0e193c0af08d09a1
DIFF: https://github.com/llvm/llvm-project/commit/74dcc2da62a815b55a37fb8d0e193c0af08d09a1.diff

LOG: [PowerPC] Silence -Woverloaded-virtual warning. NFC

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/PPCInstrInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
index 19c83e0a79dc44c..eb480916679e9a9 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
@@ -369,6 +369,7 @@ class PPCInstrInfo : public PPCGenInstrInfo {
 
   // PowerPC specific version of setSpecialOperandAttr that copies Flags to MI
   // and clears nuw, nsw, and exact flags.
+  using TargetInstrInfo::setSpecialOperandAttr;
   void setSpecialOperandAttr(MachineInstr &MI, uint32_t Flags) const;
 
   bool isCoalescableExtInstr(const MachineInstr &MI,


        


More information about the llvm-commits mailing list