[LLVMdev] condition part of branch statement

Byungchan An lionheart8470 at gmail.com
Thu Aug 14 18:58:33 PDT 2014


Hello. This is Byungchan An.

I have a question on the llvm IR.
I'm compiling grep and generate bitcode. Here, I found something weird such
as the following.


cond.true1536:                                    ; preds = %while.body1531
  br *i1 false*, label %if.end1558, label %if.then1557, !dbg !6453

Until now, what I examined is register value calculated as a result of
icmp, rcmp, trunk, and phi.
So, this makes me really confused... What type of that value is and how can
this be generated? Any simple example that can lead to this bit code?

Is there anybody who can help me?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140814/a8d0e166/attachment.html>


More information about the llvm-dev mailing list