summaryrefslogtreecommitdiff
path: root/source/opt/eliminate_dead_constant_pass.h
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2016-09-12 14:11:46 -0400
committerLei Zhang <antiagainst@google.com>2016-09-20 16:52:05 -0400
commitf18e1f293b7cf8f24a42587b48f35bc49912a5dd (patch)
treea62347cf0e7b4e4e6d6cf7a94dbde158555a37ec /source/opt/eliminate_dead_constant_pass.h
parent1bc0b275dd74f509259555e99f4e54f235532a8a (diff)
downloadSPIRV-Tools-f18e1f293b7cf8f24a42587b48f35bc49912a5dd.tar.gz
SPIRV-Tools-f18e1f293b7cf8f24a42587b48f35bc49912a5dd.tar.bz2
SPIRV-Tools-f18e1f293b7cf8f24a42587b48f35bc49912a5dd.zip
Add a C++ interface to the optimization functionalities.
Diffstat (limited to 'source/opt/eliminate_dead_constant_pass.h')
-rw-r--r--source/opt/eliminate_dead_constant_pass.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/opt/eliminate_dead_constant_pass.h b/source/opt/eliminate_dead_constant_pass.h
index 6e9a2784..6107cadf 100644
--- a/source/opt/eliminate_dead_constant_pass.h
+++ b/source/opt/eliminate_dead_constant_pass.h
@@ -21,11 +21,7 @@
namespace spvtools {
namespace opt {
-// The optimization pass to remove dead constants, including front-end
-// contants: defined by OpConstant, OpConstantComposite, OpConstantTrue and
-// OpConstantFalse; and spec constants: defined by OpSpecConstant,
-// OpSpecConstantComposite, OpSpecConstantTrue, OpSpecConstantFalse and
-// OpSpecConstantOp.
+// See optimizer.hpp for documentation.
class EliminateDeadConstantPass : public Pass {
public:
const char* name() const override { return "eliminate-dead-const"; }