[all-commits] [llvm/llvm-project] c47f3e: [X86] combineSelect - Fold select(pcmpeq(and(X, Pow...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Oct 9 06:05:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c47f3e8c7027fbf13495dc865c28d852bf77836d
https://github.com/llvm/llvm-project/commit/c47f3e8c7027fbf13495dc865c28d852bf77836d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-10-09 (Wed, 09 Oct 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] combineSelect - Fold select(pcmpeq(and(X,Pow2),0),A,B) -> select(pcmpeq(and(X,Pow2),Pow2),B,A)
Matches what we already do in LowerVSETCC to reuse an existing constant
Fixes #110875
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