[AVX] Recorganize X86ShuffleDecode into its own library
authorDavid Greene <greened@obbligato.org>
Thu, 17 Feb 2011 19:18:59 +0000 (19:18 +0000)
committerDavid Greene <greened@obbligato.org>
Thu, 17 Feb 2011 19:18:59 +0000 (19:18 +0000)
commit583b68f34fd9bdb6114fa48dadc8def2ec96edac
treea9231e7086e84c4a72a661ad24f2d21f58c6e84c
parent034a80d065358b412cdd270e08fb6f1986e65e50
[AVX] Recorganize X86ShuffleDecode into its own library
(LLVMX86Utils.a) to break cyclic library dependencies between
LLVMX86CodeGen.a and LLVMX86AsmParser.a.  Previously this code was in
a header file and marked static but AVX requires some additional
functionality here that won't be used by all clients.  Since including
unused static functions causes a gcc compiler warning, keeping it as a
header would break builds that use -Werror.  Putting this in its own
library solves both problems at once.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstPrinter/X86InstComments.cpp
lib/Target/X86/Makefile
lib/Target/X86/Utils/CMakeLists.txt [new file with mode: 0644]
lib/Target/X86/Utils/Makefile [new file with mode: 0644]
lib/Target/X86/Utils/X86ShuffleDecode.cpp [new file with mode: 0644]
lib/Target/X86/Utils/X86ShuffleDecode.h [new file with mode: 0644]
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ShuffleDecode.h [deleted file]