[all-commits] [llvm/llvm-project] 0a8341: [RISCV] Avoid VMNOT by swapping VMERGE operands fo...
Piotr Fusik via All-commits
all-commits at lists.llvm.org
Thu Feb 20 04:53:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a8341fdb2f574019fb6cf99e207754e962dc81d
https://github.com/llvm/llvm-project/commit/0a8341fdb2f574019fb6cf99e207754e962dc81d
Author: Piotr Fusik <p.fusik at samsung.com>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/mask-exts-not.ll
Log Message:
-----------
[RISCV] Avoid VMNOT by swapping VMERGE operands for mask extensions (#126751)
Fold:
(select (not m), 1, 0) -> (select m, 0, 1)
(select (not m), -1, 0) -> (select m, 0, -1)
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