mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Fix unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5912a12519
commit
ae43dac300
@ -120,7 +120,9 @@ class RAGreedy : public MachineFunctionPass,
|
|||||||
RS_Done
|
RS_Done
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
static const char *const StageName[];
|
static const char *const StageName[];
|
||||||
|
#endif
|
||||||
|
|
||||||
// RegInfo - Keep additional information about each live range.
|
// RegInfo - Keep additional information about each live range.
|
||||||
struct RegInfo {
|
struct RegInfo {
|
||||||
|
@ -389,7 +389,6 @@ signed ResourcePriorityQueue::regPressureDelta(SUnit *SU, bool RawPressure) {
|
|||||||
// Constants used to denote relative importance of
|
// Constants used to denote relative importance of
|
||||||
// heuristic components for cost computation.
|
// heuristic components for cost computation.
|
||||||
static const unsigned PriorityOne = 200;
|
static const unsigned PriorityOne = 200;
|
||||||
static const unsigned PriorityTwo = 100;
|
|
||||||
static const unsigned PriorityThree = 50;
|
static const unsigned PriorityThree = 50;
|
||||||
static const unsigned PriorityFour = 15;
|
static const unsigned PriorityFour = 15;
|
||||||
static const unsigned PriorityFive = 5;
|
static const unsigned PriorityFive = 5;
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
const unsigned Hexagon_MAX_RET_SIZE = 64;
|
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
EmitJumpTables("hexagon-emit-jump-tables", cl::init(true), cl::Hidden,
|
EmitJumpTables("hexagon-emit-jump-tables", cl::init(true), cl::Hidden,
|
||||||
cl::desc("Control jump table emission on Hexagon target"));
|
cl::desc("Control jump table emission on Hexagon target"));
|
||||||
|
@ -457,9 +457,7 @@ static SUnit *getSingleUnscheduledSucc(SUnit *SU) {
|
|||||||
// Constants used to denote relative importance of
|
// Constants used to denote relative importance of
|
||||||
// heuristic components for cost computation.
|
// heuristic components for cost computation.
|
||||||
static const unsigned PriorityOne = 200;
|
static const unsigned PriorityOne = 200;
|
||||||
static const unsigned PriorityTwo = 100;
|
|
||||||
static const unsigned PriorityThree = 50;
|
static const unsigned PriorityThree = 50;
|
||||||
static const unsigned PriorityFour = 20;
|
|
||||||
static const unsigned ScaleTwo = 10;
|
static const unsigned ScaleTwo = 10;
|
||||||
static const unsigned FactorOne = 2;
|
static const unsigned FactorOne = 2;
|
||||||
|
|
||||||
|
@ -2224,8 +2224,6 @@ static bool CC_MipsO32_FP64(unsigned ValNo, MVT ValVT,
|
|||||||
// Call Calling Convention Implementation
|
// Call Calling Convention Implementation
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
static const unsigned O32IntRegsSize = 4;
|
|
||||||
|
|
||||||
// Return next O32 integer argument register.
|
// Return next O32 integer argument register.
|
||||||
static unsigned getNextIntArgReg(unsigned Reg) {
|
static unsigned getNextIntArgReg(unsigned Reg) {
|
||||||
assert((Reg == Mips::A0) || (Reg == Mips::A2));
|
assert((Reg == Mips::A0) || (Reg == Mips::A2));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user