<div dir="ltr"><p dir="ltr"><span style="font-size:12.8px">> Can you produce an IR file that, when used with upsteram llc, </span><span style="font-size:12.8px">reproduces the problem?<br></span><span style="font-size:12.8px">> C# IR should be no different than any other, so if you can make your</span><br style="font-size:12.8px"><span style="font-size:12.8px">> front-end generate IR at O1 and O3</span><span style="font-size:12.8px"><br></span><br>
Actually, there are a lot of files from the DotNet Core run-time (e.g. CoreCLR).<br>
In this case, How do we reproduce related IRs with upstream 'llc' command?</p>
<div class="gmail_quote">On Jun 19, 2016 11:16 PM, "Renato Golin" <<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 19 June 2016 at 06:05, Geunsik Lim <<a href="mailto:leemgs@gmail.com" target="_blank">leemgs@gmail.com</a>> wrote:<br>
> I have evaluated the effect of the latest clang/llvm version to resolve<br>
> "unassigned access (Bus error)" issue.<br>
<br>
Ok, so we still have the problem, but it's hard for me to reproduce<br>
because this is a C# thing.<br>
<br>
Can you produce an IR file that, when used with upsteram llc,<br>
reproduces the problem?<br>
<br>
C# IR should be no different than any other, so if you can make your<br>
front-end generate IR at O1 and O3, we could then compare and follow<br>
them through the back-end and see what's wrong.<br>
<br>
I'm guessing this has to do with the ARM load-store optimization pass.<br>
<br>
The best course of action now is to create a bug in Bugzilla,<br>
attaching the two IRs which show the bug with upstream (non-C#) LLVM,<br>
using "llc -triple armv7a", and copy me and <a href="mailto:compnerd@compnerd.org" target="_blank">compnerd@compnerd.org</a>.<br>
<br>
Feel free to also include the original sources, your compilation<br>
command line and the other information in this email.<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div>
</div>