[all-commits] [llvm/llvm-project] e56edb: [X86][SSE] Fold select(X > -1, A, B) -> select(0 >...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Sep 3 05:05:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e56edb801bbd41925dbaca39162731613fb289f4
https://github.com/llvm/llvm-project/commit/e56edb801bbd41925dbaca39162731613fb289f4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-sse41-intrinsics.ll
Log Message:
-----------
[X86][SSE] Fold select(X > -1, A, B) -> select(0 > X, B, A) (PR47404)
Help PBLENDVB peek through to the sign bit source of the selection mask by swapping the select condition and inputs.
More information about the All-commits
mailing list