[llvm] r230651 - Use ".arch_extension" ARM directive to support hwdiv on krait
Chandler Carruth
chandlerc at google.com
Thu Feb 26 19:05:49 PST 2015
On Thu, Feb 26, 2015 at 10:08 AM, Sumanth Gundapaneni <
sgundapa at codeaurora.org> wrote:
> Author: sgundapa
> Date: Thu Feb 26 12:08:41 2015
> New Revision: 230651
>
> URL: http://llvm.org/viewvc/llvm-project?rev=230651&view=rev
> Log:
> Use ".arch_extension" ARM directive to support hwdiv on krait
>
> In case of "krait" CPU, asm printer doesn't emit any ".cpu" so the
> features bits are not computed. This patch lets the asm printer
> emit ".cpu cortex-a9" directive for krait and the hwdiv feature is
> enabled through ".arch_extension". In short, krait is treated
> as "cortex-a9" with hwdiv. We can not emit ".krait" as CPU since
> it is not supported bu GNU GAS yet
>
> Added:
> llvm/trunk/test/CodeGen/ARM/krait-cpu-div-attribute.ll
>
Pretty sure this commit is causing problems for at least one builder here:
http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/3204/steps/ninja%20check%201/logs/LLVM%3A%3Akrait-cpu-div-attribute.ll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150226/436ff778/attachment.html>
More information about the llvm-commits
mailing list