diff options
author | Ian Romanick <[email protected]> | 2019-06-17 16:27:37 -0700 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-07-09 10:18:37 +0000 |
commit | fb2c5dd98fe0fbb75993c8df981b28bb4d050f5a (patch) | |
tree | ef4bc739ac3c587c286847b57687ca8886c01f44 /src/compiler/nir/nir_instr_set.c | |
parent | f6c032c6151f8626f4cf60871969bc689f62ba7c (diff) |
nir: Add unit tests for nir_opt_comparison_pre
Each tests has a comment with the expected before and after NIR. The
tests don't actually check this. The tests only check whether or not
the optimization pass reported progress. I couldn't think of a robust,
future-proof way to check the before and after code.
Reviewed-by: Matt Turner <[email protected]>
(cherry picked from commit b08d7040518cdf76792952ceef72cadaa54d0179)
Diffstat (limited to 'src/compiler/nir/nir_instr_set.c')
0 files changed, 0 insertions, 0 deletions