From: Tom Stellard Date: Tue, 10 Jul 2012 12:51:31 +0000 (-0400) Subject: radeon/llvm: Don't set the IMM bit in SMRD instruction definitions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbdf3af8577ca61fc54c4a1615e80940c904636e;p=mesa.git radeon/llvm: Don't set the IMM bit in SMRD instruction definitions. The IMM bit is already being set in SICodeEmitter. --- diff --git a/src/gallium/drivers/radeon/SIInstrInfo.td b/src/gallium/drivers/radeon/SIInstrInfo.td index 30c9c3377ad..be08e8abbce 100644 --- a/src/gallium/drivers/radeon/SIInstrInfo.td +++ b/src/gallium/drivers/radeon/SIInstrInfo.td @@ -448,7 +448,6 @@ class MTBUF_Store_Helper op, string asm, RegisterClass regClass> : MTBU let mayStore = 1; } -/*XXX: We should be able to infer the imm bit based on the arg types */ multiclass SMRD_Helper op, string asm, RegisterClass dstClass, ValueType vt> { @@ -458,9 +457,7 @@ multiclass SMRD_Helper op, string asm, RegisterClass dstClass, (ins SMRDmemrr:$src0), asm, [(set (vt dstClass:$dst), (constant_load ADDR_Reg:$src0))] - > { - let IMM = 0; - } + >; def _IMM : SMRD < op, @@ -468,9 +465,7 @@ multiclass SMRD_Helper op, string asm, RegisterClass dstClass, (ins SMRDmemri:$src0), asm, [(set (vt dstClass:$dst), (constant_load ADDR_Offset8:$src0))] - > { - let IMM = 1; - } + >; } include "SIInstrFormats.td"