[PATCH] D67258: Out-of-tree machine IR passes

Adrien Guinet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 05:26:51 PST 2019


aguinet marked an inline comment as done.
aguinet added inline comments.


================
Comment at: examples/CMakeLists.txt:10
 
+if (BUILD_SHARED_LIBS OR LLVM_LINK_LLVM_DYLIB)
+  add_subdirectory(OutOfTreeMIR)
----------------
serge-sans-paille wrote:
> Why don't you always build it?
Because I test them as out-of-tree passes. My understanding is that, if LLVM isn't built with shared libraries, or with "LINK_LLVM_DYLIB", I won't be able to build a shared library for the passes that llc would load.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67258/new/

https://reviews.llvm.org/D67258





More information about the llvm-commits mailing list