Thomson
2012-Jun-23 17:27 UTC
[LLVMdev] Does call instruction (LLVM-IR) terminate a basic block?
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120624/2a6111f3/attachment.html>
Anton Korobeynikov
2012-Jun-23 21:43 UTC
[LLVMdev] Does call instruction (LLVM-IR) terminate a basic block?
> 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
Seemingly Similar Threads
- [LLVMdev] Basic block with two return instructions
- [LLVMdev] Basic block with two return instructions
- Update control flow graph when splitting a machine basic block?
- LLVM Pass To Remove Dead Code In A Basic Block
- LLVM Pass To Remove Dead Code In A Basic Block