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

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 02:00:30 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-arm

Author: Alex Rønne Petersen (alexrp)

<details>
<summary>Changes</summary>

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

Note: I don't have commit access.

---
Full diff: https://github.com/llvm/llvm-project/pull/109770.diff


1 Files Affected:

- (modified) llvm/lib/Target/ARM/ARMProcessors.td (+1) 


``````````diff
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,

``````````

</details>


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


More information about the llvm-commits mailing list