[mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC.This is to improve consistency within the SPIR-V dialect and make these ops a bit shorter.Reviewed By: antiagainstDifferential Revision: https:/
[mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC.This is to improve consistency within the SPIR-V dialect and make these ops a bit shorter.Reviewed By: antiagainstDifferential Revision: https://reviews.llvm.org/D130280
show more ...
[mlir][spirv] Convert single element vector.splat/fmaReviewed By: ThomasRaoux, hanchungDifferential Revision: https://reviews.llvm.org/D127572
[mlir][spirv] Replace StructAttrs with AttrDefsDepends on D127370Reviewed By: antiagainstDifferential Revision: https://reviews.llvm.org/D127373
[mlir][spirv] Add conversion from vector.reductionOnly supports addition and multiplication for now; other casesto be implemented.Reviewed By: hanchungDifferential Revision: https://reviews.ll
[mlir][spirv] Add conversion from vector.reductionOnly supports addition and multiplication for now; other casesto be implemented.Reviewed By: hanchungDifferential Revision: https://reviews.llvm.org/D124380
[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 support for converting vector.shuffleReviewed By: ThomasRaouxDifferential Revision: https://reviews.llvm.org/D119030
[mlir] Split std.splat into tensor.splat and vector.splatThis is part of the larger effort to split the standard dialect. This will also allow for pruning someadditional dependencies on Standard (
[mlir] Split std.splat into tensor.splat and vector.splatThis is part of the larger effort to split the standard dialect. This will also allow for pruning someadditional dependencies on Standard (done in a followup).Differential Revision: https://reviews.llvm.org/D118202
[mlir][spirv] Support size-1 vector inserts during conversionDifferential Revision: https://reviews.llvm.org/D115517
[mlir][spirv] Perform partial conversion in VectorToSPIRVPassThis allows the pass to participate in progressive loweringand it also allows us to write tests better.Along the way, cleaned up the
[mlir][spirv] Perform partial conversion in VectorToSPIRVPassThis allows the pass to participate in progressive loweringand it also allows us to write tests better.Along the way, cleaned up the tests.Reviewed By: ThomasRaouxDifferential Revision: https://reviews.llvm.org/D115756
[mlir][vector] Insert/extract element can accept index`vector::InsertElementOp` and `vector::ExtractElementOp` have had their `position`operand changed to accept `AnySignlessIntegerOrIndex` for be
[mlir][vector] Insert/extract element can accept index`vector::InsertElementOp` and `vector::ExtractElementOp` have had their `position`operand changed to accept `AnySignlessIntegerOrIndex` for better operability withoperations that use `index`, such as affine loops.LLVM's `extractelement` and `insertelement` can also accept `i64`, so loweringdirectly to these operations without explicitly inserting casts is allowed. SPIRV'sequivalent ops can also accept `i64`.Reviewed By: nicolasvasilache, jpienaarDifferential Revision: https://reviews.llvm.org/D114139
[mlir][spirv] add support lowering of extract_slice to scalar typeDifferential Revision: https://reviews.llvm.org/D102041
[mlir][spirv] Support conversion of extract op from vector<1xT> typeDifferential Revision: https://reviews.llvm.org/D100814
[mlir][spirv] Add more vector conversion patternsThis patch introduces a few more straightforward patternsto convert vector ops operating on 1-4 element vectorsto their corresponding SPIR-V count
[mlir][spirv] Add more vector conversion patternsThis patch introduces a few more straightforward patternsto convert vector ops operating on 1-4 element vectorsto their corresponding SPIR-V counterparts.This patch also enables converting vector<1xT> to T.Reviewed By: ThomasRaouxDifferential Revision: https://reviews.llvm.org/D96042
[mlir][spirv] Define spv.GLSL.Fma and add loweringsAlso changes some rewriter.create + rewriter.replaceOp callsinto rewriter.replaceOpWithNewOp calls.Reviewed By: hanchungDifferential Revision
[mlir][spirv] Define spv.GLSL.Fma and add loweringsAlso changes some rewriter.create + rewriter.replaceOp callsinto rewriter.replaceOpWithNewOp calls.Reviewed By: hanchungDifferential Revision: https://reviews.llvm.org/D94965
[mlir][spirv] Add VectorInsertDynamicOp and vector.insertelement loweringVectorInsertDynamicOp in SPIRV dialectconversion from vector.insertelement to spirv VectorInsertDynamicOpDifferential Rev
[mlir][spirv] Add VectorInsertDynamicOp and vector.insertelement loweringVectorInsertDynamicOp in SPIRV dialectconversion from vector.insertelement to spirv VectorInsertDynamicOpDifferential Revision: https://reviews.llvm.org/D90927
[mlir][spirv] Add VectorExtractDynamicOp and vector.extractelement loweringVectorExtractDynamicOp in SPIRV dialectconversion from vector.extractelement to spirv VectorExtractDynamicOpDifferentia
[mlir][spirv] Add VectorExtractDynamicOp and vector.extractelement loweringVectorExtractDynamicOp in SPIRV dialectconversion from vector.extractelement to spirv VectorExtractDynamicOpDifferential Revision: https://reviews.llvm.org/D90679
[mlir][spirv] Add Vector to SPIR-V conversion passAdd conversion pass for Vector dialect to SPIR-V dialect and add some simpleconversion pattern for vector.broadcast, vector.insert, vector.extract
[mlir][spirv] Add Vector to SPIR-V conversion passAdd conversion pass for Vector dialect to SPIR-V dialect and add some simpleconversion pattern for vector.broadcast, vector.insert, vector.extract.Differential Revision: https://reviews.llvm.org/D88761