Commit ec05331
committed
nv50/ir: only stick one preret per function
A function with multiple returns would have had multiple preret settings
at the top of the function. While this is unlikely to have caused issues
since we don't use functions in earnest, it could have in some cases
overflowed the call stack, in case a function had a lot of early
returns.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>1 parent 1f95121 commit ec05331
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3465 | 3465 | | |
3466 | 3466 | | |
3467 | 3467 | | |
3468 | | - | |
3469 | | - | |
3470 | | - | |
3471 | | - | |
| 3468 | + | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
3472 | 3475 | | |
3473 | 3476 | | |
3474 | 3477 | | |
| |||
0 commit comments