]> granicus.if.org Git - llvm/commitdiff
Fix ABI compatibility with 3.6.0 by moving new virtual function to end of class....
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 29 Apr 2015 09:58:25 +0000 (09:58 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 29 Apr 2015 09:58:25 +0000 (09:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236094 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index 09957b485a5ef4e87e7fc318ba4d29f7275edb4c..25719505d2ecf4d1d4eea7861655007fccaafb0d 100644 (file)
@@ -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