[PATCH] D68446: [X86] Remove isel patterns for mask vpcmpgt/vpcmpeq. Switch vpcmp to these based on the immediate in MCInstLower
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 23:58:11 PDT 2019
craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
The immediate form of VPCMP can represent these completely. The
vpcmpgt/eq are just shorter encodings.
This patch removes the isel patterns and just swaps the opcodes
and removes the immediate in MCInstLower. This matches where we do
some other encodings tricks.
Removes over 10K bytes from the isel table.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68446
Files:
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/test/CodeGen/X86/avx512-mask-op.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68446.223147.patch
Type: text/x-patch
Size: 26614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191004/fc590262/attachment.bin>
More information about the llvm-commits
mailing list