]> granicus.if.org Git - clang/commit
Switch krait to use -mcpu=cortex-a15 for assembler tool invocations.
authorStephen Hines <srhines@google.com>
Fri, 4 Mar 2016 20:57:22 +0000 (20:57 +0000)
committerStephen Hines <srhines@google.com>
Fri, 4 Mar 2016 20:57:22 +0000 (20:57 +0000)
commit573b72da444241a99ed97e0be0c7dcadda950a88
treeb4444645d2613d3ea4cb070ee436b01dc645a350
parent429be8e51ea6d52b4ff4a4f48ad02ad98874f9e1
Switch krait to use -mcpu=cortex-a15 for assembler tool invocations.

Summary:
Using -no-integrated-as causes -mcpu=krait to be transformed into
-march=armv7-a today. This precludes the assembler from using
instructions like sdiv, which are present for krait. Cortex-a15 is the
closest subset of functionality for krait, so we should switch the
assembler to use that instead.

Reviewers: cfe-commits, apazos, weimingz

Subscribers: aemerson

Differential Revision: http://reviews.llvm.org/D17874

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262742 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp