<div dir="ltr">Is this volatile inline asm?  If so, I don't think we should duplicate it.  If we do, that might be a bug.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 8:41 AM, Jan Hoogerbrugge <span dir="ltr"><<a href="mailto:jan.hoogerbrugge@gmail.com" target="_blank">jan.hoogerbrugge@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>For a certain type of analysis I generate inline assembly which I insert into the LLVM IR code. This<br>
</div>inline assembly code contains labels that should not be duplicated. Problem is that the tail<br>
duplication pass duplicates code. It checks isNotDuplicatable on a machine instruction however<br>there is no such a flag on an IR instruction that I could set. Is there a way to tell in an IR pass <br>that code should not be duplicated?<span class="HOEnZb"><font color="#888888"><br>

<br></font></span></div><span class="HOEnZb"><font color="#888888">Jan<br></font></span></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>