pan/midgard: Remove code marked "TODO: remove me"
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 6 Dec 2019 16:50:47 +0000 (11:50 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 12 Dec 2019 16:42:06 +0000 (11:42 -0500)
It's a fossil, how cute :-)

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_ra.c

index 58693a7e950f092db08d051e4e09a2aff12dd422..56d1f277d5f0718bcbefac8bbe88ceb91fedf75c 100644 (file)
@@ -785,11 +785,6 @@ mir_spill_register(
                                 index = ++spill_index;
 
                                 midgard_instruction *before = ins;
-
-                                /* TODO: Remove me I'm a fossil */
-                                if (ins->type == TAG_ALU_4 && OP_IS_CSEL(ins->alu.op))
-                                        before = mir_prev_op(before);
-
                                 midgard_instruction st;
 
                                 if (is_special) {