Joseph Huber 4a780aa13e [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.
2022-01-31 19:01:08 -05:00

17 lines
216 B
CMake

add_llvm_component_library(LLVMBitWriter
BitWriter.cpp
BitcodeWriter.cpp
BitcodeWriterPass.cpp
ValueEnumerator.cpp
DEPENDS
intrinsics_gen
LINK_COMPONENTS
Analysis
Core
MC
Object
Support
)