[PATCH] D122512: [RISCV] Add lowering for vp.fptosi and vp.sitofp.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 26 11:00:28 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rvv/vfptosi-vp.ll:26
+ %m = shufflevector <vscale x 2 x i1> %head, <vscale x 2 x i1> poison, <vscale x 2 x i32> zeroinitializer
+ %v = call <vscale x 2 x i8> @llvm.vp.fptosi.nxv2i8.nxv2f16(<vscale x 2 x half> %va, <vscale x 2 x i1> shufflevector (<vscale x 2 x i1> insertelement (<vscale x 2 x i1> undef, i1 true, i32 0), <vscale x 2 x i1> undef, <vscale x 2 x i32> zeroinitializer), i32 %evl)
+ ret <vscale x 2 x i8> %v
----------------
arcbbb wrote:
> %m is not used here
Oops. Thanks. I moved to a ConstantExpr and forgot to delete it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122512/new/
https://reviews.llvm.org/D122512
More information about the llvm-commits
mailing list