diff options
author | Steven Perron <31666470+s-perron@users.noreply.github.com> | 2018-04-23 11:13:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 11:13:07 -0400 |
commit | 2c0ce872103d676bf8de5dc87a03ad2c32e215a2 (patch) | |
tree | 5cb7aca25f3ec393cb6d98aa4513a4dfbc3cb656 /Android.mk | |
parent | 7a5928358753dc0433bdf83d8f3021991c88840f (diff) |
Vector DCE (#1512)
Introduce a pass that does a DCE type analysis for vector elements
instead of the whole vector as a single element.
It will then rewrite instructions that are not used with something else.
For example, an instruction whose value are not used, even though it is
referenced, is replaced with an OpUndef.
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ SPVTOOLS_SRC_FILES := \ source/text.cpp \ source/text_handler.cpp \ source/util/bit_stream.cpp \ + source/util/bit_vector.cpp \ source/util/parse_number.cpp \ source/util/string_utils.cpp \ source/util/timer.cpp \ @@ -135,6 +136,7 @@ SPVTOOLS_OPT_SRC_FILES := \ source/opt/types.cpp \ source/opt/unify_const_pass.cpp \ source/opt/value_number_table.cpp \ + source/opt/vector_dce.cpp \ source/opt/workaround1209.cpp # Locations of grammar files. |