[all-commits] [llvm/llvm-project] 5bc514: [bazel] Remove the dependency on CodeGen from MCTa...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Aug 30 18:21:44 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bc514b74eed31e797a187ce9e343e19772af29a
  Author: Reid Kleckner <rnk at google.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCA/AMDGPUCustomBehaviour.cpp
    M llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
    M llvm/lib/Target/X86/MCA/X86CustomBehaviour.cpp
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  [bazel] Remove the dependency on CodeGen from MCTargetDesc & Utils

This means llvm-mc should now build without depending on the target
CodeGen libraries.

Fix up a few includes in RISCV, AMDGPU, and X86 MCA to avoid transitive
deps on CodeGen.

Fixes #64166

More information about the All-commits mailing list