This is an archive of the discontinued LLVM Phabricator instance.

Switch krait to use -mcpu=cortex-a15 for assembler tool invocations.
ClosedPublic

Authored by srhines on Mar 3 2016, 6:15 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

srhines updated this revision to Diff 49791.Mar 3 2016, 6:15 PM
srhines retitled this revision from to Switch krait to use -mcpu=cortex-a15 for assembler tool invocations..
srhines updated this object.
srhines added reviewers: cfe-commits, weimingz.

LGTM. Ana, could you take a look too?

weimingz accepted this revision.Mar 4 2016, 12:22 PM
weimingz edited edge metadata.

Ana is OK with it.

This revision is now accepted and ready to land.Mar 4 2016, 12:22 PM
This revision was automatically updated to reflect the committed changes.