[PATCH] D98339: Test cases for rem-seteq fold with illegal types

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 11 13:08:40 PST 2021


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll:417
+
+define <3 x i1> @test_urem_vec(<3 x i11> %X) nounwind {
+; RV32-LABEL: test_urem_vec:
----------------
nagisa wrote:
> craig.topper wrote:
> > Fixed size vectors on RISCV are scalarized unless you pass a value to -riscv-v-vector-bits-min command line option. Enabling the V extension by itself is not sufficient.
> Ah, I see! Unfortunately enabling the option causes the backend to assert today :(
> 
> I'll file some bug reports.
We don't support fixed vector arguments or returns yet either. There's an open patch for it. Loads/store of vectors should work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98339



More information about the llvm-commits mailing list