Skip to content

Commit 5d7cd2c

Browse files
committed
[AArch64] Add FPAC feature.
1 parent 735111d commit 5d7cd2c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

llvm/lib/Target/AArch64/AArch64.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ def FeatureMatMulFP32 : SubtargetFeature<"f32mm", "HasMatMulFP32",
460460
def FeatureMatMulFP64 : SubtargetFeature<"f64mm", "HasMatMulFP64",
461461
"true", "Enable Matrix Multiply FP64 Extension (FEAT_F64MM)", [FeatureSVE]>;
462462

463+
def FeatureFPAC : SubtargetFeature<"fpac", "HasFPAC",
464+
"true", "Enable Armv8.6-A Pointer Authentication Faulting enhancement">;
465+
463466
def FeatureXS : SubtargetFeature<"xs", "HasXS",
464467
"true", "Enable Armv8.7-A limited-TLB-maintenance instruction (FEAT_XS)">;
465468

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ def HasMatMulFP32 : Predicate<"Subtarget->hasMatMulFP32()">,
262262
AssemblerPredicateWithAll<(all_of FeatureMatMulFP32), "f32mm">;
263263
def HasMatMulFP64 : Predicate<"Subtarget->hasMatMulFP64()">,
264264
AssemblerPredicateWithAll<(all_of FeatureMatMulFP64), "f64mm">;
265+
def HasFPAC : Predicate<"Subtarget->hasFPAC())">,
266+
AssemblerPredicateWithAll<(all_of FeatureFPAC), "fpac">;
265267
def HasXS : Predicate<"Subtarget->hasXS()">,
266268
AssemblerPredicateWithAll<(all_of FeatureXS), "xs">;
267269
def HasWFxT : Predicate<"Subtarget->hasWFxT()">,

0 commit comments

Comments
 (0)