<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 6:06 PM, Akira Hatanaka <span dir="ltr"><<a href="mailto:ahatanak@gmail.com" target="_blank">ahatanak@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 class="">On Wed, Sep 3, 2014 at 5:32 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">The testcase doesn't need either the triple or the data layout for an llvm-as test.<div>

<br></div></div></blockquote><div><br></div></div><div>OK, I'll remove the triples and data layout.</div><div class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div></div><div>Also, I tried it, which llvm_unreachable? (I mean, it's obviously doing something wonky so it's not necessarily a bad patch, but I can't duplicate whatever problem you're seeing).</div>


<div><br></div></div></blockquote><div><br></div></div><div>Sorry, my comment was misleading. If you compile the test case with "llc -march=aarch64", llc terminates at MachineValueType.h:386.</div><div class="">
<div><br></div></div></div></div></div></blockquote><div><br></div><div>I see it now, thanks. I'd tried an older version of llc and it didn't fail oddly enough.</div><div><br></div><div>I'm not sure this is the right place for the check, could probably do the clobber error checking up above where it's set? Any reason to put it down here?</div>
<div><br></div><div>Thanks!</div><div><br></div><div>-eric</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div class=""><div></div><div>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span style="font-family:arial;font-size:small"> </span><br></p></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div></div><div>-eric</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Wed, Sep 3, 2014 at 1:45 PM, Akira Hatanaka <span dir="ltr"><<a href="mailto:ahatanak@gmail.com" target="_blank">ahatanak@gmail.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div dir="ltr">The attached patch adds a check to InlineAsm::ConstraintInfo::Parse which checks that '{' immediately follows '~' in the inline assembly clobber constraint. This enables catching the error in the test case earlier by LLParser and printing a more helpful diagnostic, rather than terminating when an llvm_unreachable is triggered.<div>



<br></div><div>This patch fixes rdar://problem/14206559.<br></div><div><br></div></div>
<br></div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><br></div></div>
</blockquote></div><br></div></div>