[PATCH] D89449: [RISCV] Initial infrastructure for code generation of the RISC-V V-extension

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 02:42:04 PDT 2020


rogfer01 added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/add-vsetvli-gpr.mir:16
+  {
+    ret void
+  }
----------------
frasercrmck wrote:
> Is this test function missing a body? I can't see how it would generate the expected MIR
This test checks the case when the `vl` is not `RISCV::X0` by using the vreg `%3`. 

We can't currently express this in LLVM but we still need some LLVM IR function. Perhaps we can add some comment explaining this.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D89449



More information about the llvm-commits mailing list