[PATCH] D149916: [VP][SelectionDAG][RISCV] Add get_vector_length intrinsics and generic SelectionDAG support.

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 03:27:48 PDT 2023


rogfer01 added a subscriber: kaz7.
rogfer01 added a comment.

@kaz7 do you have any thoughts on the way we intend to define this intrinsic? I think it may be useful for VE as well.



================
Comment at: llvm/docs/LangRef.rst:18070
+
+      declare i32 @llvm.experimental.get.vector.length.i32(i32 %cnt, i32 immarg %element_width, i32 immarg %vf, i1 immarg %scalble)
+      declare i32 @llvm.experimental.get.vector.length.i64(i64 %cnt, i32 immarg %element_width, i32 immarg %vf, i1 immarg %scalble)
----------------
Typo `scalable`? (maybe this is an abbreviation but only one letter was left out)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149916



More information about the llvm-commits mailing list