diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-02-17 05:14:24 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-02-21 07:06:26 +0000 |
commit | 2c7470951764045a0f37876cc86daf7285d47a7c (patch) | |
tree | fe0af8ee3ced6d11761c3dc27a3017c09f725e98 /Android.common.mk | |
parent | 5e55c11a1b2a0cfe91fcf58785fabe1269f1c439 (diff) |
panfrost/midgard: Fix nested/chained if-else
An if-else statement is compiled to a conditional branch (from the start
to the second block) and an unconditional branch (from the end of the
first block to the end of the else). We previously incorrectly computed
the block index of the unconditional branch to be exactly one after that
of the conditional branch, valid for a single if-else statement but
nothing fancier. This patch correctly computes the unconditional branch
target, fixing more complex if-else chains.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions