[PATCH] D95016: [Clang][RISCV] Add custom TableGen backend for riscv-vector intrinsics.

Jessica Clarke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 07:30:21 PST 2021


jrtc27 added inline comments.


================
Comment at: clang/include/clang/Basic/riscv_vector.td:161
+  // This builtin is valid for the given exponental LMULs.
+  list<int> ELMUL = [0, 1, 2, 3, -1, -2, -3];
+
----------------
khchen wrote:
> HsiangKai wrote:
> > EMUL according to specification.
> Here ELMUL means  exponental LMUL
Log2LMUL would be a clearer name and more consistent with how things like this are named elsewhere in LLVM


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95016



More information about the cfe-commits mailing list