I experimented to collect edge profile in llvm, and the report output by llvm-prof included call in the middle of the block. So it seems llvm-prof doesn’t treat call as a basic block terminator, is this expected?
Thanks,
-Thomson
I experimented to collect edge profile in llvm, and the report output by llvm-prof included call in the middle of the block. So it seems llvm-prof doesn’t treat call as a basic block terminator, is this expected?
Thanks,
-Thomson
I experimented to collect edge profile in llvm, and the report output by
llvm-prof included call in the middle of the block. So it seems llvm-prof
doesn't treat call as a basic block terminator, is this expected?
Yes, call instructions are not terminators:
http://llvm.org/docs/LangRef.html#terminators