[llvm-dev] What instructions end a basic block?

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 28 08:40:51 PST 2019


Hi,

I'd like to understand all the instructions that can end a basic block.

So far, after analyzing a .ll file converted from .bc, I found the
following 4 instructions. Are there other instructions that I miss?
Thanks.

- br
- ret
- switch
- unreachable

-- 
Regards,
Peng


More information about the llvm-dev mailing list