radeon/llvm: Make sure the LOAD_CONST def uses the isSI predicate
[mesa.git] / src / gallium / drivers / radeon / SIInstructions.td
index 7fa397a31a3fa08af0edc281e410ee9ceea5845e..a145b9a44c58cd4fb439b07507ad89049fbde442 100644 (file)
@@ -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 <