[llvm] [llvm][ARM] Missing switch statement handles (PR #116086)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 10:08:47 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-arm
Author: Nashe Mncube (nasherm)
<details>
<summary>Changes</summary>
PR #<!-- -->115153 added enums which needed to be handled in a switch statement. This trips up buildbot.
---
Full diff: https://github.com/llvm/llvm-project/pull/116086.diff
1 Files Affected:
- (modified) llvm/lib/Target/ARM/ARMSubtarget.cpp (+2)
``````````diff
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp
index cec44acc544377..61c7fadb20aeb7 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.cpp
+++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp
@@ -292,7 +292,9 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
case CortexR5:
case CortexR7:
case CortexM3:
+ case CortexM55:
case CortexM7:
+ case CortexM85:
case CortexR52:
case CortexR52plus:
case CortexX1:
``````````
</details>
https://github.com/llvm/llvm-project/pull/116086
More information about the llvm-commits
mailing list