Index: llvm/lib/Target/AArch64/AArch64.td =================================================================== --- llvm/lib/Target/AArch64/AArch64.td +++ llvm/lib/Target/AArch64/AArch64.td @@ -670,7 +670,10 @@ def ProcR82 : SubtargetFeature<"cortex-r82", "ARMProcFamily", "CortexR82", "Cortex-R82 ARM Processors", [ - // All features are implied by v8_0r ops: + FeaturePostRAScheduler, + FeatureCrypto, + FeatureFuseAES, + // All other features are implied by v8_0r ops: HasV8_0rOps, ]>; Index: llvm/test/CodeGen/AArch64/misched-fusion-aes.ll =================================================================== --- llvm/test/CodeGen/AArch64/misched-fusion-aes.ll +++ llvm/test/CodeGen/AArch64/misched-fusion-aes.ll @@ -4,6 +4,7 @@ ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a57 | FileCheck %s ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a72 | FileCheck %s ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a73 | FileCheck %s +; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-r82 | FileCheck %s ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=exynos-m3 | FileCheck %s ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=exynos-m4 | FileCheck %s ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=exynos-m5 | FileCheck %s