[all-commits] [llvm/llvm-project] cc89eb: [X86] LowerVectorAllEqual - split ALLOF(CMPEQ(X, Y)...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Apr 5 05:28:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc89ebe2b9230f34831176ada8876dff3fffc24b
https://github.com/llvm/llvm-project/commit/cc89ebe2b9230f34831176ada8876dff3fffc24b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-04-05 (Wed, 05 Apr 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-reduce-and-bool.ll
Log Message:
-----------
[X86] LowerVectorAllEqual - split ALLOF(CMPEQ(X,Y)) -> AND(CMPEQ(X[0],Y[0]),CMPEQ(X[1],Y[1]),....) on MOVMSK codegen
Fix minor regression on pre-PTEST targets, since these are always 128-bits we're better off reducing the comparison results (assuming we're not comparing against 0/-1).
More information about the All-commits
mailing list