This is an archive of the discontinued LLVM Phabricator instance.

[PATCH] [ARM] Add Cortex-M55 Support for clang and llvm
ClosedPublic

Authored by LukeGeeson on Feb 21 2020, 8:02 AM.

Details

Summary

This patch upstreams support for the ARM Armv8.1m cpu Cortex-M55.

In detail adding support for:

  • mcpu option in clang
  • Arm Target Features in clang
  • llvm Arm TargetParser definitions

details of the CPU can be found here:
https://developer.arm.com/ip-products/processors/cortex-m/cortex-m55

Diff Detail

Event Timeline

LukeGeeson created this revision.Feb 21 2020, 8:02 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 21 2020, 8:02 AM
dmgreen added inline comments.
llvm/lib/Target/ARM/ARM.td
625

Seems unrelated ;)

llvm/test/CodeGen/ARM/build-attributes.ll
1376

Should we have a bunch of tests like these, but for M55?

chill added a reviewer: chill.Feb 24 2020, 4:06 AM
LukeGeeson marked an inline comment as done.
  • Addressed dmgreen's comments (removed whitespace, added m55 test)
  • Added CPU Part number to Host.cpp
LukeGeeson marked an inline comment as done.Feb 25 2020, 5:51 AM
chill accepted this revision.Feb 25 2020, 7:12 AM

LGTM. Please, wait a couple of days before committing.

This revision is now accepted and ready to land.Feb 25 2020, 7:12 AM
This revision was automatically updated to reflect the committed changes.