[PATCH] D44428: [X86][SSE] Treat (V)MOVAPD/(V)MOVUPD + (V)MOVAPS/(V)MOVUPS reg-reg instructions as moves not shuffles
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 13 07:42:16 PDT 2018
RKSimon created this revision.
RKSimon added reviewers: craig.topper, gadi.haber, andreadb, spatel.
Oddly the (V)MOVAPDrr/(V)MOVUPDrr and (V)MOVAPSrr/(V)MOVUPSrr instructions were classed as WriteFShuffle.
This patch changes the class to WriteMove, this matches what we already do for (V)MOVDQArr/(V)MOVDQUrr.
Found by llvm-mca
Repository:
rL LLVM
https://reviews.llvm.org/D44428
Files:
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/avx-schedule.ll
test/CodeGen/X86/sha-schedule.ll
test/CodeGen/X86/sse-schedule.ll
test/CodeGen/X86/sse2-schedule.ll
test/CodeGen/X86/sse41-schedule.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44428.138188.patch
Type: text/x-patch
Size: 11346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/8622756b/attachment.bin>
More information about the llvm-commits
mailing list