[all-commits] [llvm/llvm-project] 64421e: [BOLT][NFC] Reduce Target/{AArch64, X86} dependencies
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Fri Apr 29 20:38:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64421e191bb23d67a2cd2777dbae9bd171d79482
https://github.com/llvm/llvm-project/commit/64421e191bb23d67a2cd2777dbae9bd171d79482
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-04-29 (Fri, 29 Apr 2022)
Changed paths:
M bolt/lib/Target/AArch64/CMakeLists.txt
M bolt/lib/Target/X86/CMakeLists.txt
Log Message:
-----------
[BOLT][NFC] Reduce Target/{AArch64,X86} dependencies
We don't actually depend on entire X86/AArch64 components that pull in CodeGen,
SelectionDAG etc., just the Desc part with opcode and other definitions.
Note that it doesn't decouple BOLT from these components - we still pull in X86
and AArch64 from top-level llvm-bolt dependencies as we use assembler and
disassembler. It's difficult to reduce these as this requires non-trivial
changes to X86/AArch64 components themselves (e.g. moving out AsmPrinter).
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D124206
More information about the All-commits
mailing list