BPF: Add LLVMTransformUtils in CMakefile LINK_COMPONENTS
authorYonghong Song <yhs@fb.com>
Thu, 25 Feb 2021 23:34:48 +0000 (15:34 -0800)
committerYonghong Song <yhs@fb.com>
Thu, 25 Feb 2021 23:43:25 +0000 (15:43 -0800)
commit6d102f15a3af0a44cf2e26677e260bee425312f3
tree8afc2ab2d03c4a8765513f3599f93f6499c575a2
parent91f8aacc040f5a458cfc2a10c4039e0028931455
BPF: Add LLVMTransformUtils in CMakefile LINK_COMPONENTS

Commit 1959ead525b8 ("BPF: Implement TTI.getCmpSelInstrCost()
properly") introduced a dependency on LLVMTransformUtils
library. Let us encode this dependency explicitly in
CMakefile to avoid build error.
llvm/lib/Target/BPF/CMakeLists.txt