It was a StructAttr. Also adds a FieldParser for AffineMap.
Depends on D127348
| Paths 
 |  Differential  D127350  
[mlir][gpu] Change ParalellLoopMappingAttr to AttrDef ClosedPublic Authored by Mogball on Jun 8 2022, 2:50 PM. 
Details 
Diff Detail 
 Event TimelineMogball added a child revision: D127352: [mlir][gpu] Move GPU headers into IR/ and Transforms/.Jun 8 2022, 3:46 PM This revision is now accepted and ready to land.Jun 8 2022, 8:02 PM This revision was landed with ongoing or failed builds.Jun 9 2022, 3:23 PM Closed by commit rG7bdd3722f20c: [mlir][gpu] Change ParalellLoopMappingAttr to AttrDef (authored by Mogball).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 435347 mlir/include/mlir/Dialect/GPU/GPUOps.td
 mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
 mlir/include/mlir/Dialect/GPU/ParallelLoopMapperAttr.td
 mlir/include/mlir/Dialect/GPU/Passes.td
 mlir/include/mlir/IR/DialectImplementation.h
 mlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp
 mlir/lib/Dialect/GPU/Transforms/ParallelLoopMapper.cpp
 mlir/test/Conversion/SCFToGPU/parallel_loop.mlir
 mlir/test/Dialect/GPU/mapping.mlir
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||