Skip to content

Commit 6fe7c37

Browse files
yonghong-songtstellar
authored andcommitted
BPF: Add LLVMTransformUtils in CMakefile LINK_COMPONENTS
Commit 1959ead ("BPF: Implement TTI.getCmpSelInstrCost() properly") introduced a dependency on LLVMTransformUtils library. Let us encode this dependency explicitly in CMakefile to avoid build error. (cherry picked from commit 6d102f1)
1 parent 2460947 commit 6fe7c37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/BPF/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ add_llvm_target(BPFCodeGen
4747
SelectionDAG
4848
Support
4949
Target
50+
TransformUtils
5051

5152
ADD_TO_COMPONENT
5253
BPF

0 commit comments

Comments
 (0)