diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-04-29 09:58:25 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-04-29 09:58:25 +0000 |
commit | 717982f8799803ada4f3a7bc474b88bed7b40d3f (patch) | |
tree | 5d983b8011f2c0d1abecee8c674d5babc9056b87 | |
parent | 65e868156f6b3d4e88147cb43a7e44ad8d2f1ad3 (diff) | |
download | llvm-717982f8799803ada4f3a7bc474b88bed7b40d3f.tar.gz |
Fix ABI compatibility with 3.6.0 by moving new virtual function to end of class. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236094 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 09957b485a5e..25719505d2ec 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1060,11 +1060,6 @@ public: return false; } - /// Returns true if arguments should be sign-extended in lib calls. - virtual bool shouldSignExtendTypeInLibCall(EVT Type, bool IsSigned) const { - return IsSigned; - } - /// Returns true if the given (atomic) load should be expanded by the /// IR-level AtomicExpand pass into a load-linked instruction /// (through emitLoadLinked()). @@ -2016,6 +2011,12 @@ protected: /// Replace/modify any TargetFrameIndex operands with a targte-dependent /// sequence of memory operands that is recognized by PrologEpilogInserter. MachineBasicBlock *emitPatchPoint(MachineInstr *MI, MachineBasicBlock *MBB) const; + +public: + /// Returns true if arguments should be sign-extended in lib calls. + virtual bool shouldSignExtendTypeInLibCall(EVT Type, bool IsSigned) const { + return IsSigned; + } }; /// This class defines information used to lower LLVM code to legal SelectionDAG |