mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
AMDGPU: Fix element size assertion
The GlobalISel usage called this with bits, but the DAG usage was incorrectly using bytes.
This commit is contained in:
parent
b889862fe2
commit
42c5f78e96
@ -3505,7 +3505,7 @@ static MachineBasicBlock *emitIndirectDst(MachineInstr &MI,
|
||||
}
|
||||
|
||||
const MCInstrDesc &MovRelDesc
|
||||
= TII->getIndirectRegWritePseudo(TRI.getRegSizeInBits(*VecRC), 4, false);
|
||||
= TII->getIndirectRegWritePseudo(TRI.getRegSizeInBits(*VecRC), 32, false);
|
||||
|
||||
if (setM0ToIndexFromSGPR(TII, MRI, MI, Offset, UseGPRIdxMode, false)) {
|
||||
MachineBasicBlock::iterator I(&MI);
|
||||
|
Loading…
Reference in New Issue
Block a user