Displaying 1 result from an estimated 1 matches for "main_inst".
Did you mean:
main_init
2016 Mar 09
3
PGO question
...trumentation build from the source level, not IR level. However, if I
try to make -pgo-instr-gen for the opt command, the resulting bitcode seems
to cause a problem as follows (my environment is 3.9.0, mid Feb trunk).
$ clang -c -o main.bc -O2 -m64 -emit-llvm main.c
$ opt -pgo-instr-gen main.bc -o main_inst.bc
$ llc main_inst.bc -o main_inst.s
instrprof failed to lower an increment
UNREACHABLE executed
at /home/suganuma/tools/llvm_new/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:5245!
#0 0x00000000815ecc7a llvm::sys::PrintStackTrace
(llvm::raw_ostream&) /home/suganuma/tools/llvm_new/llvm/...