[PATCH] D144570: [X86] Add support for using Sched/Codesize information to `X86FixupInstTuning` Pass.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 09:14:22 PST 2023


goldstein.w.n created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Use this to handle new transform: `{v}unpck{l|h}pd` -> `{v}shufps`. We
need the sched information here as `{v}shufps` is 1 more byte of code
size, so we only want to make this transformation if `{v}shufps` is
actually faster.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144570

Files:
  llvm/lib/Target/X86/X86FixupInstTuning.cpp
  llvm/test/CodeGen/X86/tuning-shuffle-unpckpd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144570.499546.patch
Type: text/x-patch
Size: 11974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230222/71f60e63/attachment-0001.bin>


More information about the llvm-commits mailing list