HsiangKai added inline comments.

================
Comment at: clang/include/clang/Basic/riscv_vector.td:2186
+}] in
+def policy : RVVHeader;
----------------
khchen wrote:
> It seems like we can rewrite `vsetvli/vsetvl` and ` vsetvlmax` instructions 
> by using the `RVVHeader` mechanism?
> We only need to have one mechanism to dump header code.
Should we create `vsetvli/vsetvlmax` builtins? If we should, we may not be able 
to use `RVVHeader` for these intrinsics.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109322

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to