[llvm] r233399 - R600/SI: Fix VOP2 VI encoding

Marek Olsak marek.olsak at amd.com
Fri Mar 27 12:10:06 PDT 2015


Author: mareko
Date: Fri Mar 27 14:10:06 2015
New Revision: 233399

URL: http://llvm.org/viewvc/llvm-project?rev=233399&view=rev
Log:
R600/SI: Fix VOP2 VI encoding

Broken by "R600/SI: Refactor VOP2 instruction defs".

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=233399&r1=233398&r2=233399&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.td Fri Mar 27 14:10:06 2015
@@ -883,7 +883,7 @@ class VOP2_Real_si <string opName, vop2
   SIMCInstr <opName#"_e32", SISubtarget.SI>;
 
 class VOP2_Real_vi <string opName, vop2 op, dag outs, dag ins, string asm> :
-  VOP2 <op.SI, outs, ins, opName#asm, []>,
+  VOP2 <op.VI, outs, ins, opName#asm, []>,
   SIMCInstr <opName#"_e32", SISubtarget.VI>;
 
 multiclass VOP2SI_m <vop2 op, dag outs, dag ins, string asm, list<dag> pattern,





More information about the llvm-commits mailing list