[clang] [Clang][RISCV] Add vcreate intrinsics for RVV non-tuple types (PR #70355)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 10:18:05 PDT 2023


================
@@ -345,6 +345,54 @@ class VString<int nf, bit signed> {
                    !eq(nf, 8): !if(signed, "vvvvvvvv", "UvUvUvUvUvUvUvUv"));
 }
 
+
+class FixedVString<int fixed_lmul, int num, bit signed> {
+  string V = "(LFixedLog2LMUL:" # fixed_lmul # ")" # !if(signed, "v", "Uv");
----------------
topperc wrote:

Why not pass "v" or "Uv" instead of `bit signed`?

https://github.com/llvm/llvm-project/pull/70355


More information about the cfe-commits mailing list