projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b1cc3
)
freedreno/ir3: ignore return jump
author
Rob Clark
<robdclark@gmail.com>
Mon, 26 Feb 2018 18:04:21 +0000
(13:04 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 5 Mar 2018 13:05:33 +0000
(08:05 -0500)
I think this should also always only occur at the end of a BB (by
definition), and the BB successor should be the end block.
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 38d9ee8e1f049f71d27d4081c2bb5d9b39cd9d3d..1c8d836a87f720e7fae2efd9a242a61f2551d517 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
@@
-2599,6
+2599,7
@@
emit_jump(struct ir3_context *ctx, nir_jump_instr *jump)
switch (jump->type) {
case nir_jump_break:
case nir_jump_continue:
+ case nir_jump_return:
/* I *think* we can simply just ignore this, and use the
* successor block link to figure out where we need to
* jump to for break/continue