You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found a couple of issues that can be easily fixed for allow compilation in last version of LLVM, after those changes the examples compile perfectly and run without problems.
Adding the Pass to the LLVM source code tree, the next line must be added to the file llvm/lib/Passes/CMakeLists.txt:
CountIR
)
The line must be included as the last on the CMakeLists.txt of LINK_COMPONENTS.
Also in the part of the section of Adding an optimization pipeline to your compiler, in the CMakeLists.txt of the Driver, we must include a DEPENDS:
I have found a couple of issues that can be easily fixed for allow compilation in last version of LLVM, after those changes the examples compile perfectly and run without problems.
Adding the Pass to the LLVM source code tree, the next line must be added to the file
llvm/lib/Passes/CMakeLists.txt
:The line must be included as the last on the CMakeLists.txt of LINK_COMPONENTS.
Also in the part of the section of Adding an optimization pipeline to your compiler, in the CMakeLists.txt of the Driver, we must include a DEPENDS:
For the moment I've spotted, and fixed those issues for the last version of LLVM.
The text was updated successfully, but these errors were encountered: