[PATCH] D135233: [VP][RISCV] Add vp.roundtozero and its RISC-V support

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 00:39:22 PDT 2022


frasercrmck added inline comments.


================
Comment at: llvm/docs/LangRef.rst:21649
+(:ref:`llvm.trunc <int_llvm_trunc>`) of the first vector operand on each enabled lane.  The
+result on disabled lanes is undefined.
+
----------------
`is a poison value`? See recent changes. I've opened D135244 to change the recent introductions of undef to poison.


================
Comment at: llvm/docs/LangRef.rst:21660
+      %t = call <4 x float> @llvm.trunc.v4f32(<4 x float> %a)
+      %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef
+
----------------
`poison`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135233



More information about the llvm-commits mailing list