[LLVMdev] error: terminator in the middle of basic block
Krzysztof Parzyszek
kparzysz at codeaurora.org
Sun Nov 11 05:46:08 PST 2012
On 11/9/2012 11:45 PM, unni_c at csa.iisc.ernet.in wrote:
>
> what is the reason?
It's almost impossible to tell with only a verbal description, but my
bet is that the branch is not the last instruction in the basic block.
A terminator must be last.
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list