<div dir="ltr">Hi Bernie,<div><br></div><div>FYI, I just remembered that there was a bug related to the one you're working on:</div><div><br></div><div><a href="http://llvm.org/bugs/show_bug.cgi?id=17120">http://llvm.org/bugs/show_bug.cgi?id=17120</a><br>
</div><div><br></div><div>It's just a refactoring and is not necessarily associated with, but is a good path towards a more sane driver, and could make your own change a lot easier. I won't be looking at it for the next months, feel free to implement it if you want/need.</div>
<div><br></div><div>cheers,</div><div>--renato</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 October 2013 09:03, Bernie Ogden <span dir="ltr"><<a href="mailto:bogden@arm.com" target="_blank">bogden@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi James,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">There's already a test there, but it relies on the target being darwin. We ought to be testing in general. I'll fix that.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bernie<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:mankeyrabbit@gmail.com" target="_blank">mankeyrabbit@gmail.com</a> [mailto:<a href="mailto:mankeyrabbit@gmail.com" target="_blank">mankeyrabbit@gmail.com</a>] <b>On Behalf Of </b>James Molloy<br>
<b>Sent:</b> 15 October 2013 16:45</span></p><div class="im"><br><b>To:</b> Bernard Ogden<br><b>Cc:</b> LLVM Commits<br></div><div class="im"><b>Subject:</b> Re: [PATCH] Make v7(e)m default to thumb<u></u><u></u></div><p>
</p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi Bernie,<u></u><u></u></p><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Generally LGTM - I'd prefer a testcase testing v6m too though (Cortex-M0 or M0+).<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Cheers,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">James<u></u><u></u></p></div></div>
</div></div><div><div class="h5"><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On 15 October 2013 15:53, Bernie Ogden <<a href="mailto:bogden@arm.com" target="_blank">bogden@arm.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Attached simple patch makes thumb the default for armv7m and armv7em. Given<br>that these targets don't support arm, this has to be a Good Thing.<br><br>Fixes <a href="http://llvm.org/bugs/show_bug.cgi?id=17559" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=17559</a>.<br>
<br>Note that this only fixes the clang side. M'colleague pointed out that other<br>LLVM tools (e.g. llc) are broken in this respect. I took a look at what<br>would be required to fix this and decided not to go there.<br>
<br>Please review.<br><br>Regards,<br><br>Bernie<br>_______________________________________________<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><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div>
</div></div></div><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">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>