[all-commits] [llvm/llvm-project] 9ed7ba: [RISCV] Remove redundant vand.vi with fpto*i to i1...
Luke Lau via All-commits
all-commits at lists.llvm.org
Thu Feb 5 08:06:54 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ed7ba87c491de51cafb2d07bf549f5b1cc4e5ac
https://github.com/llvm/llvm-project/commit/9ed7ba87c491de51cafb2d07bf549f5b1cc4e5ac
Author: Luke Lau <luke at igalia.com>
Date: 2026-02-06 (Fri, 06 Feb 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll
M llvm/test/CodeGen/RISCV/rvv/vfptoi-sdnode.ll
Log Message:
-----------
[RISCV] Remove redundant vand.vi with fpto*i to i1 (#179876)
If the source of an fpto*i doesn't fit in the destination type, the
result is poison. For i1 destinations, this means the result needs to be
0 or 1/-1, so we can just compare the result to 0 directly instead of
truncating.
The VP lowering for fpto*i already does this.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list