mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 19:06:06 +00:00
Silencing a warning about isZExtFree hiding an inherited virtual function. No functional change intended.
llvm-svn: 211783
This commit is contained in:
parent
1ee38843ac
commit
3c81e46b57
@ -458,6 +458,10 @@ bool AMDGPUTargetLowering::isZExtFree(EVT Src, EVT Dest) const {
|
|||||||
return Src == MVT::i32 && Dest == MVT::i64;
|
return Src == MVT::i32 && Dest == MVT::i64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool AMDGPUTargetLowering::isZExtFree(SDValue Val, EVT VT2) const {
|
||||||
|
return isZExtFree(Val.getValueType(), VT2);
|
||||||
|
}
|
||||||
|
|
||||||
bool AMDGPUTargetLowering::isNarrowingProfitable(EVT SrcVT, EVT DestVT) const {
|
bool AMDGPUTargetLowering::isNarrowingProfitable(EVT SrcVT, EVT DestVT) const {
|
||||||
// There aren't really 64-bit registers, but pairs of 32-bit ones and only a
|
// There aren't really 64-bit registers, but pairs of 32-bit ones and only a
|
||||||
// limited number of native 64-bit operations. Shrinking an operation to fit
|
// limited number of native 64-bit operations. Shrinking an operation to fit
|
||||||
|
@ -109,6 +109,7 @@ public:
|
|||||||
|
|
||||||
bool isZExtFree(Type *Src, Type *Dest) const override;
|
bool isZExtFree(Type *Src, Type *Dest) const override;
|
||||||
bool isZExtFree(EVT Src, EVT Dest) const override;
|
bool isZExtFree(EVT Src, EVT Dest) const override;
|
||||||
|
bool isZExtFree(SDValue Val, EVT VT2) const override;
|
||||||
|
|
||||||
bool isNarrowingProfitable(EVT VT1, EVT VT2) const override;
|
bool isNarrowingProfitable(EVT VT1, EVT VT2) const override;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user