[PATCH] D157004: [mlir][ArmSME] Add vector to tile intrinsics

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 20 23:44:02 PDT 2023


awarzynski accepted this revision.
awarzynski added inline comments.
Herald added a subscriber: sunshaoce.


================
Comment at: mlir/test/Target/LLVMIR/arm-sme.mlir:319-328
+// Verify shape of predicate and vector must match
+llvm.func @arm_sme_vector_to_tile_invalid_types(%tileslice : i32,
+                                                %nxv4i1 : vector<[4]xi1>,
+                                                %nxv16i8 : vector<[16]xi8>) {
+  %tile = llvm.mlir.constant(0 : index) : i32
+  // expected-error @+1 {{failed to verify that all of {pg, vector} have same shape}}
+  "arm_sme.intr.write.horiz"(%tile, %tileslice, %nxv4i1, %nxv16i8) :
----------------
Move to invalid.mlir


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157004/new/

https://reviews.llvm.org/D157004



More information about the llvm-commits mailing list