summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a3xx/ir3.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-07-25 09:49:41 -0400
committerRob Clark <[email protected]>2014-07-25 13:29:28 -0400
commit9f391322a08937c2a01f1777ee9a9ffe3f16c244 (patch)
tree047b31a647b1f4ae09d719b5004c73c8d005ed2b /src/gallium/drivers/freedreno/a3xx/ir3.h
parentd48faad3c2d7efb7f4bf727b63487071c4a75e7a (diff)
freedreno/a3xx/compiler: little cleanups
Remove some obsolete comments, rename deref->addr. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/ir3.h')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/ir3.h3
1 files changed, 1 insertions, 2 deletions
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))