[all-commits] [llvm/llvm-project] 1c4946: Precommit tests
Luke Lau via All-commits
all-commits at lists.llvm.org
Mon Sep 14 06:00:23 PDT 2026
Branch: refs/heads/users/lukel97/riscv/vreduce-and-mask
Home: https://github.com/llvm/llvm-project
Commit: 1c4946e149dd6616f99d5237c42e20d95378c2fe
https://github.com/llvm/llvm-project/commit/1c4946e149dd6616f99d5237c42e20d95378c2fe
Author: Luke Lau <luke at igalia.com>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-mask.ll
Log Message:
-----------
Precommit tests
Commit: 91b335ac5400255eb57db468d140b2595f9fda65
https://github.com/llvm/llvm-project/commit/91b335ac5400255eb57db468d140b2595f9fda65
Author: Luke Lau <luke at igalia.com>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/vreductions-mask.ll
Log Message:
-----------
[RISCV] Don't use VL node when lowering scalable mask reductions
Using ISD::XOR gives us the generic not (setcc cc) -> setcc inverse-cc combine.
Restricted to just scalable vectors since some fixed vector patterns break without the VL node.
The VP test doesn't improve because
1) VP reductions get legalized during regular op legalization, not vector legalization
2) so generic DAGCombines don't get a chance to run before the (splat_vector 1) is legalized to vmset_vl.
We can fix this by keeping the (splat_vector 1) legal, but this is left to another PR.
Compare: https://github.com/llvm/llvm-project/compare/1c4946e149dd%5E...91b335ac5400
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