[all-commits] [llvm/llvm-project] fd347c: [X86] Add InstFixup for masked `unpck{l|h}pd` -> m...
goldsteinn via All-commits
all-commits at lists.llvm.org
Wed Apr 5 23:37:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd347ceac490e28a1b1590e05ac6f9e570d4dc99
https://github.com/llvm/llvm-project/commit/fd347ceac490e28a1b1590e05ac6f9e570d4dc99
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M llvm/lib/Target/X86/X86FixupInstTuning.cpp
M llvm/test/CodeGen/X86/tuning-shuffle-unpckpd-avx512.ll
M llvm/test/CodeGen/X86/tuning-shuffle-unpckpd.ll
Log Message:
-----------
[X86] Add InstFixup for masked `unpck{l|h}pd` -> masked `shufpd`
This is a follow up D147507 which removed the prior transformation to
`shufps` which was incorrect as the mask was for 64-bit double
elements, not 32-bit float elements. Using `shufpd` for the
replacement, however, preserves the mask semantics and has the same
benefits as `shufps`.
Reviewed By: pengfei, RKSimon
Differential Revision: https://reviews.llvm.org/D147541
More information about the All-commits
mailing list