[LLVMdev] Does call instruction (LLVM-IR) terminate a basic block?
Anton Korobeynikov
anton at korobeynikov.info
Sat Jun 23 14:43:34 PDT 2012
> 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
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list