llvm-project/mlir/test/Target
Florian Hahn 6d18c2067e [Matrix] Update load/store intrinsics.
This patch adjust the load/store matrix intrinsics, formerly known as
llvm.matrix.columnwise.load/store, to improve the naming and allow
passing of extra information (volatile).

The patch performs the following changes:
 * Rename columnwise.load/store to column.major.load/store. This is more
   expressive and also more in line with the naming in Clang.
 * Changes the stride arguments from i32 to i64. The stride can be
   larger than i32 and this makes things more uniform with the way
   things are handled in Clang.
 * A new boolean argument is added to indicate whether the load/store
   is volatile. The lowering respects that when emitting vector
   load/store instructions
 * MatrixBuilder is updated to require both Alignment and IsVolatile
   arguments, which are passed through to the generated intrinsic. The
   alignment is set using the `align` attribute.

The changes are grouped together in a single patch, to have a single
commit that breaks the compatibility. We probably should be fine with
updating the intrinsics, as we did not yet officially support them in
the last stable release. If there are any concerns, we can add
auto-upgrade rules for the columnwise intrinsics though.

Reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor, LuoYuanke, nicolasvasilache, rjmccall, ftynse

Reviewed By: anemet, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D81472
2020-06-18 09:44:52 +01:00
..
avx512.mlir [mlir][AVX512] Start a primitive AVX512 dialect 2020-03-20 14:11:57 -04:00
import.ll [mlir] Refactor BoolAttr to be a special case of IntegerAttr 2020-06-04 16:41:24 -07:00
llvmir-debug.mlir [mlir] Add support for basic location translation to LLVM. 2020-02-05 17:41:51 -08:00
llvmir-intrinsics.mlir [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
llvmir-invalid.mlir [mlir] LLVMFuncOp: provide a capability to pass attributes through to LLVM IR 2020-04-02 12:52:46 +02:00
llvmir.mlir [mlir] Fix representation of BF16 constants 2020-06-05 17:43:06 -07:00
nvvmir.mlir [MLIR] change NVVM.mma.sync to the most useful variant. 2020-02-18 17:57:04 -08:00
openmp-llvm.mlir [MLIR, OpenMP] Support for flush operation, and translating the same to LLVM IR 2020-05-19 17:01:25 +05:30
rocdl.mlir [mlir][rocdl] Exposing buffer load/store intrinsic 2020-05-21 14:14:35 +00:00
vector-to-llvm-ir.mlir [mlir] [VectorOps] Implement vector.create_mask lowering to LLVM IR 2020-05-15 11:02:30 -07:00