mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
AMDGPU: Fix unused variable warning in release build
llvm-svn: 249091
This commit is contained in:
parent
f80c6e8810
commit
27753ff832
@ -158,8 +158,8 @@ Counters SIInsertWaits::getHwCounts(MachineInstr &MI) {
|
||||
if (TII->isSMRD(MI.getOpcode())) {
|
||||
|
||||
if (MI.getNumOperands() != 0) {
|
||||
MachineOperand &Op = MI.getOperand(0);
|
||||
assert(Op.isReg() && "First LGKM operand must be a register!");
|
||||
assert(MI.getOperand(0).isReg() &&
|
||||
"First LGKM operand must be a register!");
|
||||
|
||||
// XXX - What if this is a write into a super register?
|
||||
const TargetRegisterClass *RC = TII->getOpRegClass(MI, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user