diff options
author | Eric Anholt <[email protected]> | 2019-09-16 14:34:20 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-10-04 19:15:01 +0000 |
commit | 7025dbe794b53b030ae0a3cb55217ea831a810d9 (patch) | |
tree | 7c9a0da9721ac9de7daa59b60c7422ebd6d6220e /src/gtest/include | |
parent | e7b754a05cc60818632d9968787dbdac6145fa82 (diff) |
nir: Skip emitting no-op movs from the builder.
Having passes generate these is just making more work for copy
propagation (and thus probably calling more optimization passes)
later. Noticed while trying to debug nir_opt_algebraic()
top-to-bottom having O(n^2) behavior due to not finding new matches in
replacement code.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/gtest/include')
0 files changed, 0 insertions, 0 deletions