[llvm-branch-commits] [llvm-branch] r167127 - /llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td

Tom Stellard thomas.stellard at amd.com
Wed Oct 31 08:26:14 PDT 2012


Author: tstellar
Date: Wed Oct 31 10:26:14 2012
New Revision: 167127

URL: http://llvm.org/viewvc/llvm-project?rev=167127&view=rev
Log:
SI: Use SReg_1 class for SI_IF_(N)Z condition code operand

Patch by: Michel Dänzer

Reviewed-by: Tom Stellard <thomas.stellar at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Modified:
    llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td

Modified: llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td?rev=167127&r1=167126&r2=167127&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td Wed Oct 31 10:26:14 2012
@@ -1092,14 +1092,14 @@
                                                  hasSideEffects = 0 in {
 def SI_IF_NZ : InstSI <
   (outs),
-  (ins brtarget:$target, VCCReg:$vcc),
+  (ins brtarget:$target, SReg_1:$vcc),
   "SI_BRANCH_NZ",
-  [(IL_brcond bb:$target, VCCReg:$vcc)]
+  [(IL_brcond bb:$target, SReg_1:$vcc)]
 >;
 
 def SI_IF_Z : InstSI <
   (outs),
-  (ins brtarget:$target, VCCReg:$vcc),
+  (ins brtarget:$target, SReg_1:$vcc),
   "SI_BRANCH_Z",
   []
 >;





More information about the llvm-branch-commits mailing list