Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 553 Bytes

File metadata and controls

10 lines (9 loc) · 553 Bytes

Instructions

  1. Make sure you have installed LLVM with the "clang" and "clang-tools-extra" projects enabled.
  2. Copy this folder ("loop-convert") into the "clang-tools-extra" folder of your LLVM sources.
  3. Open the CMakeLists.txt file of that "clang-tools-extra" folder and add "loop-convert" to the list of subdirectories: add_subdirectory(loop-convert)
  4. Go to your LLVM build folder and rebuild the project accordingly. E.g.: ninja
  5. Execute the loop-convert tool from the LLVM build folder: bin/loop-convert <source file>