Verify the number of results matches exactly the number of output tensors. Simplify the FillOp verification since part of it got redundant.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D105427  
[mlir][linalg] Tighter StructuredOp Verification. ClosedPublic Authored by gysit on Jul 5 2021, 5:04 AM. 
Details Summary Verify the number of results matches exactly the number of output tensors. Simplify the FillOp verification since part of it got redundant. 
Diff Detail 
 Event TimelineHerald added subscribers: dcaballe, cota, mravishankar and 17 others.  ·  View Herald TranscriptJul 5 2021, 5:04 AM This revision is now accepted and ready to land.Jul 7 2021, 1:34 PM This revision was landed with ongoing or failed builds.Jul 7 2021, 11:54 PM Closed by commit rG511af1b1ad00: [mlir][linalg] Tighter StructuredOp Verification. (authored by gysit).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 357147 mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
 mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
 mlir/test/Dialect/Linalg/invalid.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||