[mlir][spirv] Replace StructAttrs with AttrDefsDepends on D127370Reviewed By: antiagainstDifferential Revision: https://reviews.llvm.org/D127373
[mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ testsThe special case parsing of `func` operations is being removed.
[mlir] spirv: Add scf.while spirv conversion* It works similar to scf.for coversion, but convert condition and yield ops as part of scf.whille pattern so it don't need to maintain external stateD
[mlir] spirv: Add scf.while spirv conversion* It works similar to scf.for coversion, but convert condition and yield ops as part of scf.whille pattern so it don't need to maintain external stateDifferential Revision: https://reviews.llvm.org/D113007
show more ...
[MLIR] Replace std ops with arith dialect opsPrecursor: https://reviews.llvm.org/D110200Removed redundant ops from the standard dialect that were moved to the`arith` or `math` dialects.Renamed
[MLIR] Replace std ops with arith dialect opsPrecursor: https://reviews.llvm.org/D110200Removed redundant ops from the standard dialect that were moved to the`arith` or `math` dialects.Renamed all instances of operations in the codebase and in tests.Reviewed By: rriddle, jpienaarDifferential Revision: https://reviews.llvm.org/D110797
[MLIR] Create memref dialect and move dialect-specific ops from std.Create the memref dialect and move dialect-specific opsfrom std dialect to this dialect.Moved ops:AllocOp -> MemRef_AllocOpA
[MLIR] Create memref dialect and move dialect-specific ops from std.Create the memref dialect and move dialect-specific opsfrom std dialect to this dialect.Moved ops:AllocOp -> MemRef_AllocOpAllocaOp -> MemRef_AllocaOpAssumeAlignmentOp -> MemRef_AssumeAlignmentOpDeallocOp -> MemRef_DeallocOpDimOp -> MemRef_DimOpMemRefCastOp -> MemRef_CastOpMemRefReinterpretCastOp -> MemRef_ReinterpretCastOpGetGlobalMemRefOp -> MemRef_GetGlobalOpGlobalMemRefOp -> MemRef_GlobalOpLoadOp -> MemRef_LoadOpPrefetchOp -> MemRef_PrefetchOpReshapeOp -> MemRef_ReshapeOpStoreOp -> MemRef_StoreOpSubViewOp -> MemRef_SubViewOpTransposeOp -> MemRef_TransposeOpTensorLoadOp -> MemRef_TensorLoadOpTensorStoreOp -> MemRef_TensorStoreOpTensorToMemRefOp -> MemRef_BufferCastOpViewOp -> MemRef_ViewOpThe roadmap to split the memref dialect from std is discussed here:https://llvm.discourse.group/t/rfc-split-the-memref-dialect-from-std/2667Differential Revision: https://reviews.llvm.org/D98041
[MLIR][SPIRV] Rename `spv.selection` to `spv.mlir.selection`.To unify the naming scheme across all ops in the SPIR-V dialect, we aremoving from spv.camelCase to spv.CamelCase everywhere. For ops t
[MLIR][SPIRV] Rename `spv.selection` to `spv.mlir.selection`.To unify the naming scheme across all ops in the SPIR-V dialect, we aremoving from spv.camelCase to spv.CamelCase everywhere. For ops thatdon't have a SPIR-V spec counterpart, we use spv.mlir.snake_case.Reviewed By: antiagainstDifferential Revision: https://reviews.llvm.org/D98014
[MLIR][SPIRV] Rename `spv.loop` to `spv.mlir.loop`.To unify the naming scheme across all ops in the SPIR-V dialect,we are moving from spv.camelCase to spv.CamelCase everywhere.Reviewed By: antia
[MLIR][SPIRV] Rename `spv.loop` to `spv.mlir.loop`.To unify the naming scheme across all ops in the SPIR-V dialect,we are moving from spv.camelCase to spv.CamelCase everywhere.Reviewed By: antiagainstDifferential Revision: https://reviews.llvm.org/D97918
[MLIR][SPIRV] Rename `spv.constant` to `spv.Constant`.To unify the naming scheme across all ops in the SPIR-V dialect, we aremoving from `spv.camelCase` to `spv.CamelCase` everywhere.Reviewed By
[MLIR][SPIRV] Rename `spv.constant` to `spv.Constant`.To unify the naming scheme across all ops in the SPIR-V dialect, we aremoving from `spv.camelCase` to `spv.CamelCase` everywhere.Reviewed By: antiagainstDifferential Revision: https://reviews.llvm.org/D97917
Revert "[MLIR] Create memref dialect and move several dialect-specific ops from std."This commit introduced a cyclic dependency:Memref dialect depends on Standard because it used ConstantIndexOp.
Revert "[MLIR] Create memref dialect and move several dialect-specific ops from std."This commit introduced a cyclic dependency:Memref dialect depends on Standard because it used ConstantIndexOp.Std depends on the MemRef dialect in its EDSC/Intrinsics.hWorking on a fix.This reverts commit 8aa6c3765b924d86f623d452777eb76b83bf2787.
[MLIR] Create memref dialect and move several dialect-specific ops from std.Create the memref dialect and move several dialect-specific ops withoutdependencies to other ops from std dialect to thi
[MLIR] Create memref dialect and move several dialect-specific ops from std.Create the memref dialect and move several dialect-specific ops withoutdependencies to other ops from std dialect to this dialect.Moved ops:AllocOp -> MemRef_AllocOpAllocaOp -> MemRef_AllocaOpDeallocOp -> MemRef_DeallocOpMemRefCastOp -> MemRef_CastOpGetGlobalMemRefOp -> MemRef_GetGlobalOpGlobalMemRefOp -> MemRef_GlobalOpPrefetchOp -> MemRef_PrefetchOpReshapeOp -> MemRef_ReshapeOpStoreOp -> MemRef_StoreOpTransposeOp -> MemRef_TransposeOpViewOp -> MemRef_ViewOpThe roadmap to split the memref dialect from std is discussed here:https://llvm.discourse.group/t/rfc-split-the-memref-dialect-from-std/2667Differential Revision: https://reviews.llvm.org/D96425
[mlir][spirv] Create a pass for testing SCFToSPIRV patternsPreviously all SCF to SPIR-V conversion patterns were tested asthe -convert-gpu-to-spirv pass. That obscured the structure wewant. This
[mlir][spirv] Create a pass for testing SCFToSPIRV patternsPreviously all SCF to SPIR-V conversion patterns were tested asthe -convert-gpu-to-spirv pass. That obscured the structure wewant. This commit fixed it.Reviewed By: ThomasRaoux, hanchungDifferential Revision: https://reviews.llvm.org/D93488