Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add explanations for CSE and DCE to Glossary.md #185

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions website/content/getting_started/Glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ Conversion refers to a transformation between (or within) dialects, but all
still within MLIR, whereas translation refers to a transformation between MLIR
and an external representation.

### [CSE (Constant Subexpression Elimination)](../docs/Passes/#-cse)

CSE eliminates expressions computing already-computed values.

### DCE (Dead Code Elimination)

DCE removes unreachable code and expressions leading to unused results.
renxida marked this conversation as resolved.
Show resolved Hide resolved

The [canonicalize pass](https://mlir.llvm.org/docs/Canonicalization/) performs DCE as part of the canonicalization.

#### [Declarative Rewrite Rule](../docs/DeclarativeRewrites) (DRR)

A [rewrite rule](https://en.wikipedia.org/wiki/Graph_rewriting) which can be
Expand Down
Loading