mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Get rid of the pesky -Woverloaded-virtual warning. No change in functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170438 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edc3503ca5
commit
968b667e27
@ -1063,6 +1063,10 @@ bool MSP430TargetLowering::isZExtFree(EVT VT1, EVT VT2) const {
|
|||||||
return 0 && VT1 == MVT::i8 && VT2 == MVT::i16;
|
return 0 && VT1 == MVT::i8 && VT2 == MVT::i16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool MSP430TargetLowering::isZExtFree(SDValue Val, EVT VT2) const {
|
||||||
|
return isZExtFree(Val.getValueType(), VT2);
|
||||||
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Other Lowering Code
|
// Other Lowering Code
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
@ -116,6 +116,7 @@ namespace llvm {
|
|||||||
/// out to 16 bits.
|
/// out to 16 bits.
|
||||||
virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
||||||
virtual bool isZExtFree(EVT VT1, EVT VT2) const;
|
virtual bool isZExtFree(EVT VT1, EVT VT2) const;
|
||||||
|
virtual bool isZExtFree(SDValue Val, EVT VT2) const;
|
||||||
|
|
||||||
MachineBasicBlock* EmitInstrWithCustomInserter(MachineInstr *MI,
|
MachineBasicBlock* EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||||
MachineBasicBlock *BB) const;
|
MachineBasicBlock *BB) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user