diff options
author | Gert Wollny <[email protected]> | 2018-06-05 22:26:37 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-08-11 12:32:42 +0200 |
commit | f40c9d02254cd26d2ff92e3f42825fcd7badad92 (patch) | |
tree | 22191ec1a26b5c31d49fb95ab447a7a8cccee1e7 /appveyor.yml | |
parent | 568bda2f2d3a3c1bef172563941d36d35a91b5b7 (diff) |
mesa/st/glsl_to_tgsi: Properly resolve life times simple if/else + use constructs
in constructs like below, currently the live range estimation extends the live range
of t unecessarily to the whole loop because it was not detected that t is
unconditional written and later read only in the "if (a)" scope.
while (foo) {
...
if (a) {
...
if (b)
t = ...
else
t = ...
x = t;
...
}
...
}
This patch adds a unit test for this case and corrects the minimal live range estimation
accordingly.
v4: update comments
Signed-off-by: Gert Wollny <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions