summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIInstructions.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-09 11:43:17 -0400
committerTom Stellard <[email protected]>2012-05-09 12:49:44 -0400
commitd0403cafd479964a80d95299d079845593e9891f (patch)
treeb6df3c6ff55abdfc862a26142534707d5703660a /src/gallium/drivers/radeon/SIInstructions.td
parenta1c5513c175a2c13594dde7110822b205cabfc14 (diff)
radeon/llvm: Make sure the LOAD_CONST def uses the isSI predicate
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 7fa397a31a3..a145b9a44c5 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -800,6 +800,13 @@ def CONFIG_WRITE : InstSI <
field bits<32> Inst = 0;
}
+def LOAD_CONST : AMDGPUShaderInst <
+ (outs GPRF32:$dst),
+ (ins i32imm:$src),
+ "LOAD_CONST $dst, $src",
+ [(set GPRF32:$dst, (int_AMDGPU_load_const imm:$src))]
+>;
+
let usesCustomInserter = 1 in {
def SI_V_CNDLT : InstSI <