aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-06-18 09:30:41 +0100
committerFlorian Hahn <flo@fhahn.com>2020-06-18 09:44:52 +0100
commit6d18c2067ef1f2450078c115966ebb2699b0558c (patch)
treea69d861b4a74d2f85d1fb904b2d524648aabce9e /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent65912a9768e035c7987d7a8932157978c6b22a15 (diff)
downloadllvm-6d18c2067ef1f2450078c115966ebb2699b0558c.zip
llvm-6d18c2067ef1f2450078c115966ebb2699b0558c.tar.gz
llvm-6d18c2067ef1f2450078c115966ebb2699b0558c.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions