Skip to content

Commit

Permalink
[ARM] Copy-paste error in ARMv87a architecture definition.
Browse files Browse the repository at this point in the history
In the tablegen architecture definition, the Name field for the
ARMv87a record read "ARMv86a". All the other records contain their own
names.

Corrected it to "ARMv87a", and added the necessary value in
ARMArchEnum for that to refer to.

Reviewed By: pratlucas

Differential Revision: https://reviews.llvm.org/D96493
  • Loading branch information
statham-arm committed Feb 11, 2021
1 parent 3a29ac2 commit 69f1a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/ARM/ARM.td
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def ARMv86a : Architecture<"armv8.6-a", "ARMv86a", [HasV8_6aOps,
FeatureCRC,
FeatureRAS,
FeatureDotProd]>;
def ARMv87a : Architecture<"armv8.7-a", "ARMv86a", [HasV8_7aOps,
def ARMv87a : Architecture<"armv8.7-a", "ARMv87a", [HasV8_7aOps,
FeatureAClass,
FeatureDB,
FeatureFPARMv8,
Expand Down
1 change: 1 addition & 0 deletions llvm/lib/Target/ARM/ARMSubtarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class ARMSubtarget : public ARMGenSubtargetInfo {
ARMv84a,
ARMv85a,
ARMv86a,
ARMv87a,
ARMv8a,
ARMv8mBaseline,
ARMv8mMainline,
Expand Down

0 comments on commit 69f1a7a

Please sign in to comment.