mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Reverting r181331.
Missing file, HexagonSplitConst32AndConst64.cpp, from lib/Target/Hexagon/CMakeLists.txt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -25,8 +25,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<int> SmallDataThreshold("hexagon-small-data-threshold",
|
||||
cl::init(8), cl::Hidden,
|
||||
cl::desc("The maximum size of an object in the sdata section"));
|
||||
cl::init(8), cl::Hidden);
|
||||
|
||||
void HexagonTargetObjectFile::Initialize(MCContext &Ctx,
|
||||
const TargetMachine &TM) {
|
||||
@ -47,11 +46,6 @@ void HexagonTargetObjectFile::Initialize(MCContext &Ctx,
|
||||
static bool IsInSmallSection(uint64_t Size) {
|
||||
return Size > 0 && Size <= (uint64_t)SmallDataThreshold;
|
||||
}
|
||||
|
||||
bool HexagonTargetObjectFile::IsSmallDataEnabled () const {
|
||||
return SmallDataThreshold > 0;
|
||||
}
|
||||
|
||||
/// IsGlobalInSmallSection - Return true if this global value should be
|
||||
/// placed into small data/bss section.
|
||||
bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV,
|
||||
|
Reference in New Issue
Block a user