mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Suppress GCC compiler warnings in release builds about variables that are only
read in asserts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181689 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
985eb9004c
commit
b99052ce4a
@ -631,6 +631,7 @@ bool HexagonNewValueJump::runOnMachineFunction(MachineFunction &MF) {
|
||||
.addMBB(jmpTarget);
|
||||
|
||||
assert(NewMI && "New Value Jump Instruction Not created!");
|
||||
(void)NewMI;
|
||||
if (cmpInstr->getOperand(0).isReg() &&
|
||||
cmpInstr->getOperand(0).isKill())
|
||||
cmpInstr->getOperand(0).setIsKill(false);
|
||||
|
@ -1196,6 +1196,7 @@ RewriteIntelBracExpression(SmallVectorImpl<AsmRewrite> *AsmRewrites,
|
||||
}
|
||||
}
|
||||
assert (Found && "Unable to rewrite ImmDisp.");
|
||||
(void)Found;
|
||||
} else {
|
||||
// We have a symbolic and an immediate displacement, but no displacement
|
||||
// before the bracketed expression. Put the immediate displacement
|
||||
|
@ -639,6 +639,7 @@ Value *BoUpSLP::vectorizeTree(ArrayRef<Value *> VL, int VF) {
|
||||
Replaced = true;
|
||||
}
|
||||
assert(Replaced && "Must replace at least one outside user");
|
||||
(void)Replaced;
|
||||
}
|
||||
|
||||
// We moved some instructions around. We have to number them again
|
||||
|
Loading…
Reference in New Issue
Block a user