Skip to content

Commit 69f1a7a

Browse files
committed
[ARM] Copy-paste error in ARMv87a architecture definition.
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
1 parent 3a29ac2 commit 69f1a7a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

llvm/lib/Target/ARM/ARM.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ def ARMv86a : Architecture<"armv8.6-a", "ARMv86a", [HasV8_6aOps,
852852
FeatureCRC,
853853
FeatureRAS,
854854
FeatureDotProd]>;
855-
def ARMv87a : Architecture<"armv8.7-a", "ARMv86a", [HasV8_7aOps,
855+
def ARMv87a : Architecture<"armv8.7-a", "ARMv87a", [HasV8_7aOps,
856856
FeatureAClass,
857857
FeatureDB,
858858
FeatureFPARMv8,

llvm/lib/Target/ARM/ARMSubtarget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ class ARMSubtarget : public ARMGenSubtargetInfo {
117117
ARMv84a,
118118
ARMv85a,
119119
ARMv86a,
120+
ARMv87a,
120121
ARMv8a,
121122
ARMv8mBaseline,
122123
ARMv8mMainline,

0 commit comments

Comments
 (0)