mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 10:39:35 +08:00
Fix typo
PiperOrigin-RevId: 274905193
This commit is contained in:
committed by
A. Unique TensorFlower
parent
c0b11f5cf4
commit
2fc29f1eab
@@ -74,7 +74,7 @@ the IR and replacing it with a different set of operations, we can plug into the
|
||||
MLIR `Canonicalizer` pass by implementing a `RewritePattern`:
|
||||
|
||||
```c++
|
||||
/// Fold transpose(transpose(x)) -> transpose(x)
|
||||
/// Fold transpose(transpose(x)) -> x
|
||||
struct SimplifyRedundantTranspose : public mlir::OpRewritePattern<TransposeOp> {
|
||||
/// We register this pattern to match every toy.transpose in the IR.
|
||||
/// The "benefit" is used by the framework to order the patterns and process
|
||||
|
||||
Reference in New Issue
Block a user