[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMachineFunctionInfo.cpp.o
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVMachineFunctionInfo.cpp:13:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSubtarget.cpp.o
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVSubtarget.cpp:10:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMCInstLower.cpp.o
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVMCInstLower.cpp:11:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInstrInfo.cpp.o
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVInstrInfo.cpp:16:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
../lib/Target/RISCV/RISCVInstrInfo.cpp:221:11: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
assert(&MBB && "InsertBranch must not be told to insert a fallthrough");
^~~ ~~
/usr/include/assert.h:89:5: note: expanded from macro 'assert'
((expr) \
^~~~
8 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:14:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:216:16: warning: 'runOnMachineFunction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool runOnMachineFunction(MachineFunction &MF);
^
../include/llvm/CodeGen/SelectionDAGISel.h:67:8: note: overridden virtual function is here
bool runOnMachineFunction(MachineFunction &MF) override;
^
../lib/Target/RISCV/RISCVISelDAGToDAG.cpp:458:16: warning: unused variable 'I' [-Wunused-variable]
for (auto &I: MBB) {
^
9 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVAsmPrinter.cpp.o
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.cpp:15:
In file included from ../lib/Target/RISCV/RISCVAsmPrinter.h:13:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVRegisterInfo.cpp:11:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVFrameLowering.cpp.o
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:10:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:10:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:10:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:10:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:10:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:15:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVFrameLowering.cpp:15:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetMachine.cpp.o
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVTargetMachine.cpp:10:
In file included from ../lib/Target/RISCV/RISCVTargetMachine.h:18:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:18:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
7 warnings generated.
[1087/1136] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelLowering.cpp.o
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:16:
../lib/Target/RISCV/RISCVISelLowering.h:123:8: warning: 'isOffsetFoldingLegal' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
../include/llvm/Target/TargetLowering.h:2222:16: note: overridden virtual function is here
virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
^
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:16:
../lib/Target/RISCV/RISCVISelLowering.h:153:5: warning: 'CanLowerReturn' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
^
../include/llvm/Target/TargetLowering.h:2644:16: note: overridden virtual function is here
virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
^
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:20:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:23:8: warning: 'hasFP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasFP(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:216:16: note: overridden virtual function is here
virtual bool hasFP(const MachineFunction &MF) const = 0;
^
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:20:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:27:8: warning: 'emitPrologue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitPrologue(MachineFunction&, MachineBasicBlock&) const;
^
../include/llvm/Target/TargetFrameLowering.h:163:16: note: overridden virtual function is here
virtual void emitPrologue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:20:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:28:8: warning: 'emitEpilogue' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
^
../include/llvm/Target/TargetFrameLowering.h:165:16: note: overridden virtual function is here
virtual void emitEpilogue(MachineFunction &MF,
^
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:20:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:35:8: warning: 'spillCalleeSavedRegisters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
../include/llvm/Target/TargetFrameLowering.h:192:16: note: overridden virtual function is here
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
^
In file included from ../lib/Target/RISCV/RISCVISelLowering.cpp:20:
In file included from ../lib/Target/RISCV/RISCVSubtarget.h:17:
../lib/Target/RISCV/RISCVFrameLowering.h:40:8: warning: 'hasReservedCallFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool hasReservedCallFrame(const MachineFunction &MF) const;
^
../include/llvm/Target/TargetFrameLowering.h:223:16: note: overridden virtual function is here
virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
^
../lib/Target/RISCV/RISCVISelLowering.cpp:42:24: warning: unused variable 'FPFRegs' [-Wunused-const-variable]
static const MCPhysReg FPFRegs[8] = {
^
../lib/Target/RISCV/RISCVISelLowering.cpp:47:24: warning: unused variable 'FPDRegs' [-Wunused-const-variable]
static const MCPhysReg FPDRegs[8] = {
^
9 warnings generated.