[all-commits] [llvm/llvm-project] 6dbf1a: [X86] Move X86ShuffleDecode.cpp/h into MCTargetDes...

topperc via All-commits all-commits at lists.llvm.org
Mon Apr 13 10:14:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dbf1a1229ba65f65784af1fd9ca2a780f0dc8b2
      https://github.com/llvm/llvm-project/commit/6dbf1a1229ba65f65784af1fd9ca2a780f0dc8b2
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/CMakeLists.txt
    M llvm/lib/Target/X86/LLVMBuild.txt
    M llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/X86/MCTargetDesc/LLVMBuild.txt
    M llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
    A llvm/lib/Target/X86/MCTargetDesc/X86ShuffleDecode.cpp
    A llvm/lib/Target/X86/MCTargetDesc/X86ShuffleDecode.h
    R llvm/lib/Target/X86/Utils/CMakeLists.txt
    R llvm/lib/Target/X86/Utils/LLVMBuild.txt
    R llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
    R llvm/lib/Target/X86/Utils/X86ShuffleDecode.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list