Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 436 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 436 Bytes

An example of creating the ir bbv profiling bc with lsms

mkdir cbuild && cd cbuild
NUGGET_PROCESS_TYPE=lsms-ir-bb-analysis-bc cmake -DCMAKE_TOOLCHAIN_FILE=${PWD}/../lsms/toolchain/generic-cpu.cmake \
    ${PWD}/../lsms
cmake --build . --target=lsms_ir_bb_analysis_bc

You might need to change some parameters in lsms/cmake/nugget-ir-bb-analysis-bc.cmake, such as set(LLVM_ROOT "[path/to/llvm/root]").

More details to come