projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016a9ab
)
freedreno/ir3: small cleanup
author
Rob Clark
<robdclark@chromium.org>
Fri, 28 Jun 2019 13:27:17 +0000
(06:27 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Fri, 28 Jun 2019 20:02:59 +0000
(13:02 -0700)
`target` cannot be NULL here.
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_legalize.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_legalize.c
b/src/freedreno/ir3/ir3_legalize.c
index e1ca1ada2c53a218f9baee991a109b06aa3e8826..ae5547b6a527ebfd29c99a5b886ceab7894a591d 100644
(file)
--- a/
src/freedreno/ir3/ir3_legalize.c
+++ b/
src/freedreno/ir3/ir3_legalize.c
@@
-430,7
+430,7
@@
resolve_jump(struct ir3_instruction *instr)
else
next_block = 1;
- if (
(!target) || (target->ip == (instr->ip + next_block)
)) {
+ if (
target->ip == (instr->ip + next_block
)) {
list_delinit(&instr->node);
return true;
} else {