mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
Shuffle the virtual destructor down to the base. This should actually pacify
-Wnon-virtual-dtor for real. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -32,8 +32,6 @@ public:
|
|||||||
/// Ctor
|
/// Ctor
|
||||||
explicit ScalarTargetTransformImpl(const TargetLowering *TL) : TLI(TL) {}
|
explicit ScalarTargetTransformImpl(const TargetLowering *TL) : TLI(TL) {}
|
||||||
|
|
||||||
virtual ~ScalarTargetTransformImpl() {}
|
|
||||||
|
|
||||||
virtual bool isLegalAddImmediate(int64_t imm) const;
|
virtual bool isLegalAddImmediate(int64_t imm) const;
|
||||||
|
|
||||||
virtual bool isLegalICmpImmediate(int64_t imm) const;
|
virtual bool isLegalICmpImmediate(int64_t imm) const;
|
||||||
|
@ -75,6 +75,8 @@ public:
|
|||||||
/// LSR, and LowerInvoke use this interface.
|
/// LSR, and LowerInvoke use this interface.
|
||||||
class ScalarTargetTransformInfo {
|
class ScalarTargetTransformInfo {
|
||||||
public:
|
public:
|
||||||
|
virtual ~ScalarTargetTransformInfo() {}
|
||||||
|
|
||||||
/// isLegalAddImmediate - Return true if the specified immediate is legal
|
/// isLegalAddImmediate - Return true if the specified immediate is legal
|
||||||
/// add immediate, that is the target has add instructions which can add
|
/// add immediate, that is the target has add instructions which can add
|
||||||
/// a register with the immediate without having to materialize the
|
/// a register with the immediate without having to materialize the
|
||||||
|
Reference in New Issue
Block a user