[PATCH] D122512: [RISCV] Add lowering for vp.fptosi and vp.sitofp.

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 26 10:13:28 PDT 2022


arcbbb 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
----------------
%m is not used here


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