From 9f391322a08937c2a01f1777ee9a9ffe3f16c244 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 25 Jul 2014 09:49:41 -0400 Subject: freedreno/a3xx/compiler: little cleanups Remove some obsolete comments, rename deref->addr. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a3xx/ir3.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/drivers/freedreno/a3xx/ir3.h') diff --git a/src/gallium/drivers/freedreno/a3xx/ir3.h b/src/gallium/drivers/freedreno/a3xx/ir3.h index e6f9a401366..0a8e53831c6 100644 --- a/src/gallium/drivers/freedreno/a3xx/ir3.h +++ b/src/gallium/drivers/freedreno/a3xx/ir3.h @@ -354,7 +354,7 @@ static inline bool is_meta(struct ir3_instruction *instr) return (instr->category == -1); } -static inline bool is_deref(struct ir3_instruction *instr) +static inline bool is_addr(struct ir3_instruction *instr) { return is_meta(instr) && (instr->opc == OPC_META_DEREF); } @@ -368,7 +368,6 @@ static inline bool writes_addr(struct ir3_instruction *instr) return false; } -/* TODO combine is_gpr()/reg_gpr().. */ static inline bool reg_gpr(struct ir3_register *r) { if (r->flags & (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_RELATIV | IR3_REG_SSA | IR3_REG_ADDR)) -- cgit v1.2.3