mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
R600: 3 op instructions have no write bit but the result are store in PV
llvm-svn: 183111
This commit is contained in:
parent
97b4286f95
commit
991eb7f653
@ -80,9 +80,7 @@ private:
|
||||
if (TII->isTransOnly(BI))
|
||||
continue;
|
||||
int OperandIdx = TII->getOperandIdx(BI->getOpcode(), R600Operands::WRITE);
|
||||
if (OperandIdx < 0)
|
||||
continue;
|
||||
if (BI->getOperand(OperandIdx).getImm() == 0)
|
||||
if (OperandIdx > -1 && BI->getOperand(OperandIdx).getImm() == 0)
|
||||
continue;
|
||||
unsigned Dst = BI->getOperand(0).getReg();
|
||||
if (BI->getOpcode() == AMDGPU::DOT4_r600 ||
|
||||
|
Loading…
Reference in New Issue
Block a user