Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D90755  
[mlir][std] Add DimOp folding for dim(tensor_load(m)) -> dim(m). ClosedPublic Authored by nicolasvasilache on Nov 4 2020, 3:20 AM. 
Details 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Nov 4 2020, 4:26 AM 
 This revision was landed with ongoing or failed builds.Nov 4 2020, 5:10 AM Closed by commit rG85ff2705cdea: [mlir][std] Add DimOp folding for dim(tensor_load(m)) -> dim(m). (authored by nicolasvasilache).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 302819 mlir/lib/Dialect/StandardOps/IR/Ops.cpp
 mlir/test/Dialect/Standard/canonicalize.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If I remember correctly the contract for fold is to return itself when the op is modified. Is that not necessary here?