A blog for LLVM(v9.0.0 or v11.0.0) beginner, step by step, with detailed documents and comments. Record the way I learn LLVM and accomplish a complete project for FPGA High-Level Synthesis with it.
Describe the bug
For some test applications in the directory ./Tests, DominatorTreeWrapperPass should be included as required by some customized Passes. Moreover, some tests include HI_StringProcess but do not declare that in the CMakeLists.txt, causing build problems.
BUG FIXED BUT just to notice people who download the source code before the bug is fixed.
Loop timing evaluation goes wrong because the analyzer records the latency of loops according to names of loop, but the name of loops in generated functions could be the same, which makes mistakes.
The Function Instantiation Pass should rename the basic blocks in generated functions