mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Improve 723fea23079f9c85800e5cdc90a75414af182bfd - Silence 'warning: unused variable' when compiling with Clang 10.0
This commit is contained in:
parent
2dca188cb2
commit
8b839e28ec
@ -1413,10 +1413,8 @@ bool PeepholeOptimizer::foldRedundantCopy(
|
||||
|
||||
MachineInstr *PrevCopy = CopyMIs.find(SrcPair)->second;
|
||||
|
||||
#ifndef NDEBUG
|
||||
unsigned PrevSrcSubReg = PrevCopy->getOperand(1).getSubReg();
|
||||
#endif
|
||||
assert(SrcSubReg == PrevSrcSubReg && "Unexpected mismatching subreg!");
|
||||
assert(SrcSubReg == PrevCopy->getOperand(1).getSubReg() &&
|
||||
"Unexpected mismatching subreg!");
|
||||
|
||||
Register PrevDstReg = PrevCopy->getOperand(0).getReg();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user