<div dir="ltr">Yes, thanks for the correction.<div><br></div><div>Thanks,</div><div>Jian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 5, 2019 at 1:20 PM Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I think you meant to link to this patch here:<div><a href="https://reviews.llvm.org/D69411" target="_blank">https://reviews.llvm.org/D69411</a></div><div><br></div><div>There's too much discussion for me to read and understand, but I think what would help the most is developing a clear summary of what the gnu assembler's behavior is. Do they defer evaluation of the if condition? Do they under or overestimate offsets in the ambiguous cases? Or do they just error out cases where there are relaxable fragments between labels? That should help us pick a more general direction for this feature.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 5, 2019 at 12:08 PM Jian Cai via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I've been trying to add support to the integrated assembler to handle cases like below</div><div><br></div><div>foo:instr; .if . - foo; instr; .endif<br></div><div><br></div><div>when the dot symbol and foo are <a href="https://github.com/ClangBuiltLinux/linux/issues/744" target="_blank">assigned to consecutive MCDataFragments</a>. I have a <a href="https://reviews.llvm.org/D6941" target="_blank">patch</a> under review. And even though it seems to solve the problem, the concern is it complicates the code and we would like to know if there is more decent way to handle this. Please feel free to share your thoughts. </div><div><br></div><div>Thanks,</div><div>Jian</div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>
</blockquote></div>