projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771d04c
)
freedreno/ir3: immediately schedule meta instructions
author
Rob Clark
<robdclark@chromium.org>
Tue, 28 May 2019 16:42:26 +0000
(09:42 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Mon, 3 Jun 2019 19:44:03 +0000
(12:44 -0700)
The aren't real instructions, and don't change # of live values, so no
point in them competing with real instructions.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_sched.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_sched.c
b/src/freedreno/ir3/ir3_sched.c
index 1b07bf8c1dd16ee5c059c3af0aed21cf0ce1ecf9..f027d7b7a304a9eb745cd644717c217a397a3132 100644
(file)
--- a/
src/freedreno/ir3/ir3_sched.c
+++ b/
src/freedreno/ir3/ir3_sched.c
@@
-571,6
+571,9
@@
find_eligible_instr(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes,
if (!candidate)
continue;
+ if (is_meta(candidate))
+ return candidate;
+
deepest = MAX2(deepest, candidate->depth);
}