[PATCH] D77980: [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 13:53:07 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: LLVM.
craig.topper updated this revision to Diff 256878.
craig.topper added a comment.

Include the moved files properly.


The shuffle decoding is used by X86ISelLowering and
MCTargetDesc/X86InstComments. The latter used to be in a
separate InstPrinter library. The Utils library existed to allow
InstPrinter and CodeGen to share the shuffle decoding. Since
X86InstComments now lives in the MCTargetDesc, which CodeGen
already depends on, we can sink the shuffle decoding there as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77980

Files:
  llvm/lib/Target/X86/CMakeLists.txt
  llvm/lib/Target/X86/LLVMBuild.txt
  llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
  llvm/lib/Target/X86/MCTargetDesc/LLVMBuild.txt
  llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86ShuffleDecode.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86ShuffleDecode.h
  llvm/lib/Target/X86/Utils/CMakeLists.txt
  llvm/lib/Target/X86/Utils/LLVMBuild.txt
  llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
  llvm/lib/Target/X86/Utils/X86ShuffleDecode.h
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86MCInstLower.cpp
  llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77980.256878.patch
Type: text/x-patch
Size: 33272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200412/78d7f1c7/attachment.bin>


More information about the llvm-commits mailing list