This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Introduce an empty "armv8.8-a" architecture.
ClosedPublic

Authored by tyb0807 on Dec 13 2021, 6:55 PM.

Details

Summary

This is the first commit in a series that implements support for
"armv8.8-a" architecture. This should contain all the necessary
boilerplate to make the 8.8-A architecture exist from LLVM and Clang's
point of view: it adds the new arch as a subtarget feature, a definition
in TargetParser, a name on the command line, an appropriate set of
predefined macros, and adds appropriate tests. The new architecture name
is supported in both AArch32 and AArch64.

However, in this commit, no actual _functionality_ is added as part of
the new architecture. If you specify -march=armv8.8a, the compiler
will accept it and set the right predefines, but generate no code any
differently.

Patch by Simon Tatham

Diff Detail

Event Timeline

tyb0807 created this revision.Dec 13 2021, 6:55 PM
tyb0807 requested review of this revision.Dec 13 2021, 6:55 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 13 2021, 6:55 PM
tyb0807 updated this revision to Diff 394116.Dec 13 2021, 7:04 PM

Allow linting

tyb0807 updated this revision to Diff 394120.Dec 13 2021, 7:13 PM
tyb0807 edited the summary of this revision. (Show Details)

Update commit message

This revision is now accepted and ready to land.Dec 16 2021, 6:15 AM
chill added a subscriber: chill.Dec 22 2021, 6:37 AM
chill added inline comments.
llvm/include/llvm/Support/ARMTargetParser.def
125

... here.

tmatheson updated this revision to Diff 396780.Dec 31 2021, 5:38 AM

Minor fix after rebase

This revision was landed with ongoing or failed builds.Dec 31 2021, 8:44 AM
This revision was automatically updated to reflect the committed changes.