diff options
author | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2020-05-16 23:01:52 -0700 |
---|---|---|
committer | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2020-05-17 13:46:52 -0700 |
commit | 37ce8d6ade24b2fb9f332b5ff94c25b40f1fc701 (patch) | |
tree | 473ddc7cea0ad7f13a70d75a67756ad7d05423ec /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | f88c7fe46b37960599e15d373e6ebb0cb2efdc01 (diff) | |
download | llvm-37ce8d6ade24b2fb9f332b5ff94c25b40f1fc701.zip llvm-37ce8d6ade24b2fb9f332b5ff94c25b40f1fc701.tar.gz llvm-37ce8d6ade24b2fb9f332b5ff94c25b40f1fc701.tar.bz2 |
[MLIR] Fix linkage for libMLIR.so
Generally:
1) don't use target_link_libraries() and add_mlir_library() on the same target, use LINK_LIBS PUBLIC instead.
2) don't use LINK_LIBS to specify LLVM libraries. Use LINK_COMPONENTS instead
3) no need to link against LLVMSupport. We pull it in by default.
Differential Revision: https://reviews.llvm.org/D80076
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions