[all-commits] [llvm/llvm-project] 4a780a: [LLVM] Resolve layer violation in BitcodeWriter

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 31 16:01:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a780aa13ee5e1c8268de54ef946200a270127b9
      https://github.com/llvm/llvm-project/commit/4a780aa13ee5e1c8268de54ef946200a270127b9
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/Bitcode/Writer/CMakeLists.txt

  Log Message:
  -----------
  [LLVM] Resolve layer violation in BitcodeWriter

Summary:
The changes introduced in D116542 added a dependency on TransformUtils
to use the `appendToCompilerUsed` method. This created a circular
dependency. This patch simply copies the needed function locally to
remove the dependency.




More information about the All-commits mailing list