mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Avoid build warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d2a56d387
commit
02efa786d4
@ -1308,6 +1308,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
|
||||
DEBUG(errs() << "\tIncompatible source regclass: "
|
||||
<< tri_->getName(DstSubReg) << " not in " << SrcSubRC->getName()
|
||||
<< ".\n");
|
||||
(void)DstSubReg;
|
||||
return false; // Not coalescable.
|
||||
}
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ bool LoopUnroll::runOnLoop(Loop *L, LPPassManager &LPM) {
|
||||
BasicBlock *Header = L->getHeader();
|
||||
DEBUG(errs() << "Loop Unroll: F[" << Header->getParent()->getName()
|
||||
<< "] Loop %" << Header->getName() << "\n");
|
||||
(void)Header;
|
||||
|
||||
// Find trip count
|
||||
unsigned TripCount = L->getSmallConstantTripCount();
|
||||
|
@ -309,6 +309,7 @@ void LowerSwitch::processSwitchInst(SwitchInst *SI) {
|
||||
DEBUG(errs() << "Clusterify finished. Total clusters: " << Cases.size()
|
||||
<< ". Total compares: " << numCmps << "\n");
|
||||
DEBUG(errs() << "Cases: " << Cases << "\n");
|
||||
(void)numCmps;
|
||||
|
||||
BasicBlock* SwitchBlock = switchConvert(Cases.begin(), Cases.end(), Val,
|
||||
OrigBlock, NewDefault);
|
||||
|
Loading…
x
Reference in New Issue
Block a user