summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorSteven Perron <31666470+s-perron@users.noreply.github.com>2018-04-23 11:13:07 -0400
committerGitHub <noreply@github.com>2018-04-23 11:13:07 -0400
commit2c0ce872103d676bf8de5dc87a03ad2c32e215a2 (patch)
tree5cb7aca25f3ec393cb6d98aa4513a4dfbc3cb656 /Android.mk
parent7a5928358753dc0433bdf83d8f3021991c88840f (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.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4199afc9..812209e3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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.