<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 10:08 AM, Sumanth Gundapaneni <span dir="ltr"><<a href="mailto:sgundapa@codeaurora.org" target="_blank">sgundapa@codeaurora.org</a>></span> wrote:<br><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 id=":c7o" class="" style="overflow:hidden">Author: sgundapa<br>
Date: Thu Feb 26 12:08:41 2015<br>
New Revision: 230651<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=230651&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=230651&view=rev</a><br>
Log:<br>
Use ".arch_extension" ARM directive to support hwdiv on <span class="">krait</span><br>
<br>
In case of "<span class="">krait</span>" <span class="">CPU</span>, asm printer doesn't emit any ".<span class="">cpu</span>" so the<br>
features bits are not computed. This patch lets the asm printer<br>
emit ".<span class="">cpu</span> cortex-a9" directive for <span class="">krait</span> and the hwdiv feature is<br>
enabled through ".arch_extension". In short, <span class="">krait</span> is treated<br>
as "cortex-a9" with hwdiv. We can not emit ".<span class="">krait</span>" as <span class="">CPU</span> since<br>
it is not supported bu GNU GAS yet<br>
<br>
Added:<br>
    llvm/trunk/test/CodeGen/ARM/<span class="">krait</span>-<span class="">cpu</span>-div-attribute.ll</div></blockquote></div><br>Pretty sure this commit is causing problems for at least one builder here:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/3204/steps/ninja%20check%201/logs/LLVM%3A%3Akrait-cpu-div-attribute.ll">http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/3204/steps/ninja%20check%201/logs/LLVM%3A%3Akrait-cpu-div-attribute.ll</a><br></div></div>