[PATCH] D89449: [RISCV] Initial infrastructure for code generation of the RISC-V V-extension
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 02:27:37 PDT 2020
frasercrmck added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1563
+
+ // For simplicity we reuse the vtype representation here.
+ // Bits | Name | Description
----------------
Perhaps this logic should go into RISCVBaseInfo, as I would expect other parts of the compiler will need to manipulate this operand's data at some point. It would be nice to have getters/setters for that, rather than relying on the underlying "encoding".
================
Comment at: llvm/test/CodeGen/RISCV/rvv/add-vsetvli-gpr.mir:16
+ {
+ ret void
+ }
----------------
Is this test function missing a body? I can't see how it would generate the expected MIR
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89449/new/
https://reviews.llvm.org/D89449
More information about the llvm-commits
mailing list