[llvm-branch-commits] [llvm-branch] r236094 - Fix ABI compatibility with 3.6.0 by moving new virtual function to end of class. NFC.
Daniel Sanders
daniel.sanders at imgtec.com
Wed Apr 29 02:58:27 PDT 2015
Author: dsanders
Date: Wed Apr 29 04:58:25 2015
New Revision: 236094
URL: http://llvm.org/viewvc/llvm-project?rev=236094&view=rev
Log:
Fix ABI compatibility with 3.6.0 by moving new virtual function to end of class. NFC.
Modified:
llvm/branches/release_36/include/llvm/Target/TargetLowering.h
Modified: llvm/branches/release_36/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_36/include/llvm/Target/TargetLowering.h?rev=236094&r1=236093&r2=236094&view=diff
==============================================================================
--- llvm/branches/release_36/include/llvm/Target/TargetLowering.h (original)
+++ llvm/branches/release_36/include/llvm/Target/TargetLowering.h Wed Apr 29 04:58:25 2015
@@ -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
More information about the llvm-branch-commits
mailing list