[PATCH] D62787: [X86] Add the vector integer min/max instructions to isAssociativeAndCommutative.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 14:39:34 PDT 2019
craig.topper updated this revision to Diff 203026.
craig.topper added a comment.
-Add the SQ and UQ instructions.
-Fix the MIN list which I thought I just copied from the MAX list and search and replaced.
-Show test diffs in machine-combiner-int-vec.ll which now tests min/max
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62787/new/
https://reviews.llvm.org/D62787
Files:
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/test/CodeGen/X86/horizontal-reduce-smax.ll
llvm/test/CodeGen/X86/horizontal-reduce-smin.ll
llvm/test/CodeGen/X86/horizontal-reduce-umax.ll
llvm/test/CodeGen/X86/horizontal-reduce-umin.ll
llvm/test/CodeGen/X86/machine-combiner-int-vec.ll
llvm/test/CodeGen/X86/vector-reduce-smax-widen.ll
llvm/test/CodeGen/X86/vector-reduce-smax.ll
llvm/test/CodeGen/X86/vector-reduce-smin-widen.ll
llvm/test/CodeGen/X86/vector-reduce-smin.ll
llvm/test/CodeGen/X86/vector-reduce-umax-widen.ll
llvm/test/CodeGen/X86/vector-reduce-umax.ll
llvm/test/CodeGen/X86/vector-reduce-umin-widen.ll
llvm/test/CodeGen/X86/vector-reduce-umin.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62787.203026.patch
Type: text/x-patch
Size: 164274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190604/4b47e5da/attachment.bin>
More information about the llvm-commits
mailing list