[llvm] [llubi] Implement vector reduction/manipulation intrinsics (PR #194345)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 27 06:35:47 PDT 2026
================
@@ -379,6 +379,56 @@ class InstExecutor : public InstVisitor<InstExecutor, void>,
return Boolean == BooleanKind::True;
}
+ // Helper function to get the length of a (possible scalable) vector.
+ uint32_t getVectorNumElements(VectorType *Ty) {
----------------
dtcxzyw wrote:
Use `getEVL`.
https://github.com/llvm/llvm-project/pull/194345
More information about the llvm-commits
mailing list