summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_cp.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-05-01 12:21:12 -0400
committerRob Clark <[email protected]>2015-06-21 07:53:58 -0400
commitd52fb2f5ad828f879286b9068023b82b9897bc17 (patch)
tree55502ba55dc1bb1d6b54e8e1529fc94f7cd0d95a /src/gallium/drivers/freedreno/ir3/ir3_cp.c
parent694beb8b830c993e9bfb744655be3dbd558ab3a8 (diff)
freedreno/ir3/ra: use register_allocate
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_cp.c')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cp.c b/src/gallium/drivers/freedreno/ir3/ir3_cp.c
index 350f7dd5e6b..8c057166f32 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_cp.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_cp.c
@@ -41,7 +41,7 @@ static bool is_eligible_mov(struct ir3_instruction *instr, bool allow_flags)
struct ir3_register *dst = instr->regs[0];
struct ir3_register *src = instr->regs[1];
struct ir3_instruction *src_instr = ssa(src);
- if (dst->flags & (IR3_REG_ADDR | IR3_REG_RELATIV))
+ if (dst->flags & IR3_REG_RELATIV)
return false;
if (src->flags & IR3_REG_RELATIV)
return false;