summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIInstructions.td
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-08-28 15:59:30 +0200
committerMichel Dänzer <[email protected]>2012-08-28 20:27:23 +0200
commit70f9dbe298043f0e3914e6956ddcc0a098f7eca3 (patch)
tree4487f3a6c7b5742b47ee08872a4fcae8c42912aa /src/gallium/drivers/radeon/SIInstructions.td
parent16e42a5dd065c09f6d561537009639906b22ce45 (diff)
radeon/llvm: Handle TGSI KIL opcode for SI.
Fixes piglit fp-kil and glBitmap() with radeonsi. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstructions.td')
-rw-r--r--src/gallium/drivers/radeon/SIInstructions.td7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index ee4c8f5a36f..11bc8012fbd 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -959,6 +959,13 @@ def SI_INTERP_CONST : InstSI <
imm:$attr, SReg_32:$params))]
>;
+def SI_KIL : InstSI <
+ (outs),
+ (ins VReg_32:$src),
+ "SI_KIL $src",
+ [(int_AMDGPU_kill VReg_32:$src)]
+>;
+
} // end usesCustomInserter
// SI Psuedo branch instructions. These are used by the CFG structurizer pass