[X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC
authorCraig Topper <craig.topper@intel.com>
Mon, 13 Apr 2020 16:33:05 +0000 (09:33 -0700)
committerCraig Topper <craig.topper@intel.com>
Mon, 13 Apr 2020 17:14:08 +0000 (10:14 -0700)
commit6dbf1a1229ba65f65784af1fd9ca2a780f0dc8b2
treee1e66c308c7db87473fd2fc5e0caee15d0649b42
parent0b0bb1969fa077ae1c3c77313211fbabee6aa15e
[X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC

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.

Differential Revision: https://reviews.llvm.org/D77980
12 files changed:
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 [moved from llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp with 100% similarity]
llvm/lib/Target/X86/MCTargetDesc/X86ShuffleDecode.h [moved from llvm/lib/Target/X86/Utils/X86ShuffleDecode.h with 100% similarity]
llvm/lib/Target/X86/Utils/CMakeLists.txt [deleted file]
llvm/lib/Target/X86/Utils/LLVMBuild.txt [deleted file]
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp