[LLVMdev] Preventing IR instruction duplication
Reid Kleckner
rnk at google.com
Thu Jul 17 12:34:54 PDT 2014
Is this volatile inline asm? If so, I don't think we should duplicate it.
If we do, that might be a bug.
On Thu, Jul 17, 2014 at 8:41 AM, Jan Hoogerbrugge <
jan.hoogerbrugge at gmail.com> wrote:
> Hi,
>
> For a certain type of analysis I generate inline assembly which I insert
> into the LLVM IR code. This
> inline assembly code contains labels that should not be duplicated.
> Problem is that the tail
> duplication pass duplicates code. It checks isNotDuplicatable on a machine
> instruction however
> there is no such a flag on an IR instruction that I could set. Is there a
> way to tell in an IR pass
> that code should not be duplicated?
>
> Jan
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140717/0220c8cf/attachment.html>
More information about the llvm-dev
mailing list