[PATCH] D101924: [X86] Improve costmodel for scalar byte swaps

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 7 11:29:56 PDT 2021


lebedev.ri updated this revision to Diff 343724.
lebedev.ri marked an inline comment as done.
lebedev.ri added a comment.

Don't forget to check that we are actually looking at `ISD::BSWAP`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101924/new/

https://reviews.llvm.org/D101924

Files:
  llvm/lib/Target/X86/X86.td
  llvm/lib/Target/X86/X86Subtarget.h
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/X86/bswap-store.ll
  llvm/test/Analysis/CostModel/X86/bswap.ll
  llvm/test/Analysis/CostModel/X86/load-bswap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101924.343724.patch
Type: text/x-patch
Size: 54439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210507/d9864343/attachment-0001.bin>


More information about the llvm-commits mailing list