[llvm] r229606 - R600/SI: Fix error from vdst on no return atomics
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Feb 17 18:10:35 PST 2015
Author: arsenm
Date: Tue Feb 17 20:10:35 2015
New Revision: 229606
URL: http://llvm.org/viewvc/llvm-project?rev=229606&view=rev
Log:
R600/SI: Fix error from vdst on no return atomics
Set the ignored field to 0 so we can enable
noNamedPositionallyEncodedOperands.
Modified:
llvm/trunk/lib/Target/R600/SIInstrInfo.td
Modified: llvm/trunk/lib/Target/R600/SIInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstrInfo.td?rev=229606&r1=229605&r2=229606&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.td Tue Feb 17 20:10:35 2015
@@ -1566,8 +1566,10 @@ multiclass DS_1A2D_NORET_m <bits<8> op,
def "" : DS_Pseudo <opName, outs, ins, pat>,
AtomicNoRet<noRetOp, 0>;
- def _si : DS_1A_Real_si <op, opName, outs, ins, asm>;
- def _vi : DS_1A_Real_vi <op, opName, outs, ins, asm>;
+ let vdst = 0 in {
+ def _si : DS_1A_Real_si <op, opName, outs, ins, asm>;
+ def _vi : DS_1A_Real_vi <op, opName, outs, ins, asm>;
+ }
}
}
@@ -1586,7 +1588,7 @@ multiclass DS_1A1D_NORET_m <bits<8> op,
def "" : DS_Pseudo <opName, outs, ins, pat>,
AtomicNoRet<noRetOp, 0>;
- let data1 = 0 in {
+ let data1 = 0, vdst = 0 in {
def _si : DS_1A_Real_si <op, opName, outs, ins, asm>;
def _vi : DS_1A_Real_vi <op, opName, outs, ins, asm>;
}
More information about the llvm-commits
mailing list