[LLVMdev] preserving an implicit def between basic blocks

Alexandru Dura alexdura at gmail.com
Fri Feb 11 03:13:09 PST 2011


Hi,

I have the following problem:
In BB0 there is an instruction that defines a flag (implicit def) and in BB1
there is one that reads the flag (implicit use). When i run llc with -O3,
the instruction in BB0 that defines the flag is removed. How can i prevent
this? BB0 and BB1 are consecutive basic blocks.

Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110211/db6fd500/attachment.html>


More information about the llvm-dev mailing list