[llvm] r230651 - Use ".arch_extension" ARM directive to support hwdiv on krait

Sumanth Gundapaneni sgundapa at codeaurora.org
Thu Feb 26 23:59:08 PST 2015


I will look in to this on why this is failing.

> 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
>





More information about the llvm-commits mailing list