[PATCH] D93368: [RISCV] Define vector compare intrinsics.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 17 01:01:48 PST 2020
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rvv/vmfeq-rv32.ll:14
+; CHECK: vmfeq.vv {{v[0-9]+}}, {{v[0-9]+}}, {{v[0-9]+}}
+ %a = call <vscale x 1 x i1> @llvm.riscv.vmfeq.nxv1i1.nxv1f16(
+ <vscale x 1 x half> %0,
----------------
craig.topper wrote:
> Shouldn't we be able to define this so we don't need nvx1i1 in the name?
Can we add new class to the intrinsics file that uses LLVMScalarOrSameVectorWidth<0, llvm_i1_ty> as the result type? So the mask type is implied without needing to be listed or passed to getDeclaration.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93368/new/
https://reviews.llvm.org/D93368
More information about the llvm-commits
mailing list