1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[Target/PPC] Silence an unused variable warning. NFC.

This commit is contained in:
Davide Italiano 2020-06-15 11:04:30 -07:00
parent a0ac79c972
commit 00c70dac51

View File

@ -243,6 +243,7 @@ PPCMCCodeEmitter::getMemRI34PCRelEncoding(const MCInst &MI, unsigned OpNo,
const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(LHS);
(void)SRE;
const MCConstantExpr *CE = cast<MCConstantExpr>(RHS);
(void)CE;
assert(isInt<34>(CE->getValue()) && "Value must fit in 34 bits.");
// Currently these are the only valid PCRelative Relocations.