aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 63511a6a..ce2103ca 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -157,12 +157,6 @@ Options (in lexicographical order):)",
another. It will only propagate an array if the source is never
written to, and the only store to the target is the copy.)");
printf(R"(
- --decompose-initialized-variables
- Decomposes initialized variable declarations into a declaration
- followed by a store of the initial value. This is done to work
- around known issues with some Vulkan drivers for initialize
- variables.)");
- printf(R"(
--replace-desc-array-access-using-var-index
Replaces accesses to descriptor arrays based on a variable index
with a switch that has a case for every possible value of the
@@ -208,6 +202,10 @@ Options (in lexicographical order):)",
unused stores to vector components, that are not removed by
aggressive dead code elimination.)");
printf(R"(
+ --eliminate-dead-input-components
+ Deletes unused components from input variables. Currently
+ deletes trailing unused elements from input arrays.)");
+ printf(R"(
--eliminate-dead-variables
Deletes module scope variables that are not referenced.)");
printf(R"(
@@ -233,6 +231,10 @@ Options (in lexicographical order):)",
loads and stores. Performed only on entry point call tree
functions.)");
printf(R"(
+ --fix-func-call-param
+ fix non memory argument for the function call, replace
+ accesschain pointer argument with a variable.)");
+ printf(R"(
--flatten-decorations
Replace decoration groups with repeated OpDecorate and
OpMemberDecorate instructions.)");
@@ -483,9 +485,6 @@ Options (in lexicographical order):)",
--strength-reduction
Replaces instructions with equivalent and less expensive ones.)");
printf(R"(
- --strip-atomic-counter-memory
- Removes AtomicCountMemory bit from memory semantics values.)");
- printf(R"(
--strip-debug
Remove all debug instructions.)");
printf(R"(