Displaying 2 results from an estimated 2 matches for "fea3aee2".
2018 Feb 26
0
Compiling a benchmark to IR (either from test-suite, or other benchmarks)
There is no immediate support for this in the test-suite cmake buildsystem. There is something in the Makefile system indeed, but it lacks documentation and I'm not aware of any examples of how to use it.
I would recommend to use `CMAKE_C_FLAGS=--save-temps=obj cmake ...` in the test-suite. The --save-temps=obj flag will make clang place a bitcode file next to each .o file.
- Matthias
>
2018 Feb 26
2
Compiling a benchmark to IR (either from test-suite, or other benchmarks)
Hello all.
I'm in need of a benchmark that can be compiled to IR or bytecode. I found
the test-suite project (https://llvm.org/docs/TestSuiteMakefileGuide.html)
and thought a benchmark in that project might work. However, I'm having
trouble figuring out how to actually compile any of the benchmarks to IR or
bytecode. Using cmake and make I can compile them to binaries, but at no
point do