mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
squash warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61707 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f56ebaf5c
commit
8a84e4402a
@ -2019,6 +2019,7 @@ void SelectionDAGLowering::visitSwitch(SwitchInst &SI) {
|
||||
size_t numCmps = Clusterify(Cases, SI);
|
||||
DEBUG(errs() << "Clusterify finished. Total clusters: " << Cases.size()
|
||||
<< ". Total compares: " << numCmps << '\n');
|
||||
numCmps = 0;
|
||||
|
||||
// Get the Value to be switched on and default basic blocks, which will be
|
||||
// inserted into CaseBlock records, representing basic blocks in the binary
|
||||
|
@ -1662,7 +1662,7 @@ bool SimpleRegisterCoalescing::SimpleJoin(LiveInterval &LHS, LiveInterval &RHS){
|
||||
// optimize for it: if there is more than one value, we merge them all into
|
||||
// the lowest numbered one, then handle the interval as if we were merging
|
||||
// with one value number.
|
||||
VNInfo *LHSValNo;
|
||||
VNInfo *LHSValNo = NULL;
|
||||
if (EliminatedLHSVals.size() > 1) {
|
||||
// Loop through all the equal value numbers merging them into the smallest
|
||||
// one.
|
||||
|
@ -108,6 +108,7 @@ DarwinTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const {
|
||||
}
|
||||
|
||||
// FIXME: Do we have any extra special weird cases?
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const Section*
|
||||
|
@ -86,6 +86,8 @@ ELFTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const {
|
||||
}
|
||||
} else
|
||||
assert(0 && "Unsupported global");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const Section*
|
||||
|
@ -342,6 +342,7 @@ TargetAsmInfo::UniqueSectionForGlobal(const GlobalValue* GV,
|
||||
default:
|
||||
assert(0 && "Unknown section kind");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const Section*
|
||||
|
@ -1255,7 +1255,7 @@ X86TargetLowering::LowerFORMAL_ARGUMENTS(SDValue Op, SelectionDAG &DAG) {
|
||||
|
||||
if (VA.isRegLoc()) {
|
||||
MVT RegVT = VA.getLocVT();
|
||||
TargetRegisterClass *RC;
|
||||
TargetRegisterClass *RC = NULL;
|
||||
if (RegVT == MVT::i32)
|
||||
RC = X86::GR32RegisterClass;
|
||||
else if (Is64Bit && RegVT == MVT::i64)
|
||||
|
@ -319,6 +319,7 @@ X86COFFTargetAsmInfo::UniqueSectionForGlobal(const GlobalValue* GV,
|
||||
default:
|
||||
assert(0 && "Unknown section kind");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
std::string X86COFFTargetAsmInfo::printSectionFlags(unsigned flags) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user