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

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


Author: tstellar
Date: Wed Oct 31 10:26:15 2012
New Revision: 167128

URL: http://llvm.org/viewvc/llvm-project?rev=167128&view=rev
Log:
SI: Handle kilp intrinsic

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=167128&r1=167127&r2=167128&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td Wed Oct 31 10:26:15 2012
@@ -1240,6 +1240,11 @@
   (V_MUL_LEGACY_F32_e32 AllReg_32:$src0, (V_RCP_LEGACY_F32_e32 AllReg_32:$src1))
 >;
 
+def : Pat <
+  (int_AMDGPU_kilp),
+  (SI_KIL (V_MOV_IMM_I32 0xbf800000))
+>;
+
 /********** ================== **********/
 /**********   VOP3 Patterns    **********/
 /********** ================== **********/





More information about the llvm-branch-commits mailing list