Dear, LLVM developers.
We appreciate your interest.
We contacted to solve the problem of setting the pass. Our pass setup process is as follows:
- Add pass subdirectory from CMakeLists.txt in llvm/lib/Tranform
- Change CMakeLists.txt in llvm/lib/Transform/pass
- Run make in llvm/build/lib
However, the desired pass file was not created. There were no errors in the make process.
Installed version is LLVM & clang 8.0.0, CMAKE 3.4.3.
Here is the contents of CMakeLists.txt set in the pass:
add_llvm_module ( Filter MODULE
Filter.cpp
DEPENDS
intrinsics_gen
PLUGIN_TOOL
opt
)
We are looking forward to hearing from you.
Best regards.