[llvm] [llvm][ARM] Make cortex-m85 imply trustzone. (PR #109770)

Alex Rønne Petersen via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 01:59:50 PDT 2024


https://github.com/alexrp created https://github.com/llvm/llvm-project/pull/109770

See: https://developer.arm.com/documentation/102787/0300

Note: I don't have commit access.

>From 463a8892d20952b252f680ad1470ecb4731b7f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= <alex at alexrp.com>
Date: Tue, 24 Sep 2024 10:57:07 +0200
Subject: [PATCH] [llvm][ARM] Make cortex-m85 imply trustzone.

See: https://developer.arm.com/documentation/102787/0300
---
 llvm/lib/Target/ARM/ARMProcessors.td | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/lib/Target/ARM/ARMProcessors.td b/llvm/lib/Target/ARM/ARMProcessors.td
index e4e122a0d1339b..cc871657e46895 100644
--- a/llvm/lib/Target/ARM/ARMProcessors.td
+++ b/llvm/lib/Target/ARM/ARMProcessors.td
@@ -382,6 +382,7 @@ def : ProcessorModel<"cortex-m55", CortexM55Model,      [ARMv81mMainline,
                                                          FeatureFixCMSE_CVE_2021_35465]>;
 
 def : ProcessorModel<"cortex-m85", CortexM85Model,      [ARMv81mMainline,
+                                                         FeatureTrustZone,
                                                          FeatureDSP,
                                                          FeatureFPARMv8_D16,
                                                          FeaturePACBTI,



More information about the llvm-commits mailing list