[all-commits] [llvm/llvm-project] 0e88eb: [mlir][spirv] Adapt subview legalization to the up...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Wed May 20 12:01:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0e88eb5c514ab59d63c7503b6055a2ced62a870b
https://github.com/llvm/llvm-project/commit/0e88eb5c514ab59d63c7503b6055a2ced62a870b
Author: MaheshRavishankar <ravishankarm at google.com>
Date: 2020-05-20 (Wed, 20 May 2020)
Changed paths:
M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
M mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/test/Conversion/GPUToSPIRV/load-store.mlir
M mlir/test/Conversion/GPUToSPIRV/loop.mlir
M mlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Adapt subview legalization to the updated op semantics.
The subview semantics changes recently to allow for more natural
representation of constant offsets and strides. The legalization of
subview op for lowering to SPIR-V needs to account for this.
Also change the linearization to use the strides from the affine map
of a memref.
Differential Revision: https://reviews.llvm.org/D80270
More information about the All-commits
mailing list