[PATCH] D122678: [RISCV] Add support for vp.fptosi where the result is a mask type.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 08:35:59 PDT 2022
craig.topper added a comment.
In D122678#3416821 <https://reviews.llvm.org/D122678#3416821>, @rogfer01 wrote:
> I must be missing something very obvious: wouldn't `2.0` round to `2` and then give us `i1 0` because its LSB is 0?
2.0 is out of range for the integer so it is UB and produces poison.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122678/new/
https://reviews.llvm.org/D122678
More information about the llvm-commits
mailing list