r600/llvm: Add LOAD_VTX instruction
authorTom Stellard <thomas.stellard@amd.com>
Tue, 28 Feb 2012 22:32:28 +0000 (17:32 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Apr 2012 13:34:04 +0000 (09:34 -0400)
src/gallium/drivers/radeon/R600Instructions.td

index 913e27f1f9c3a9fa1cd299502885f8e4bc4eed43..af6b8be5190aa0d32c82f2f2101700a8efff6c16 100644 (file)
@@ -918,6 +918,19 @@ def LOCAL_SIZE_Z : R600PreloadInst <"LOCAL_SIZE_Z",
 
 
 
+let isPseudo = 1 in {
+
+def LOAD_VTX : AMDGPUShaderInst <
+    (outs R600_Reg32:$dst),
+    (ins MEMri:$mem),
+    "LOAD_VTX",
+    [(set (i32 R600_Reg32:$dst), (load_param ADDRParam:$mem))]
+>;
+
+
+} //End isPseudo
+
+
 include "R600ShaderPatterns.td"
 
 // We need this pattern to avoid having real registers in PHI nodes.