mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Revert "R600/SI: Fix incorrect encoding of DS_WRITE_B32 instructions"
This reverts commit a6a39ced09
.
This is the wrong version of this fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -134,7 +134,9 @@ Counters SIInsertWaits::getHwCounts(MachineInstr &MI) {
|
||||
// LGKM may uses larger values
|
||||
if (TSFlags & SIInstrFlags::LGKM_CNT) {
|
||||
|
||||
const MachineOperand &Op = MI.getOperand(0);
|
||||
MachineOperand &Op = MI.getOperand(0);
|
||||
if (!Op.isReg())
|
||||
Op = MI.getOperand(1);
|
||||
assert(Op.isReg() && "First LGKM operand must be a register!");
|
||||
|
||||
unsigned Reg = Op.getReg();
|
||||
|
Reference in New Issue
Block a user