[all-commits] [llvm/llvm-project] 0fe945: [X86] Fold EXPAND(X, Y, M) -> SELECT(M, X, Y) when M i...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Feb 4 03:45:35 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0fe9454c5672a73594fe71e28987760b7d82e3b7
https://github.com/llvm/llvm-project/commit/0fe9454c5672a73594fe71e28987760b7d82e3b7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2026-02-04 (Wed, 04 Feb 2026)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx512bwvl-arith.ll
M llvm/test/CodeGen/X86/legalize-vec-assertzext.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll
Log Message:
-----------
[X86] Fold EXPAND(X,Y,M) -> SELECT(M,X,Y) when M is a lowest bit mask (#179630)
If a EXPAND node mask is just the lowest bits, then we can replace it
with a more general SELECT node, which can be cheaper and potentially
allow predication.
Fixes #179008
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