[llvm] [llvm][ARM] Missing switch statement handles (PR #116086)
Nashe Mncube via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 10:08:16 PST 2024
https://github.com/nasherm created https://github.com/llvm/llvm-project/pull/116086
PR #115153 added enums which needed to be handled in a switch statement. This trips up buildbot.
>From 526f7bea56d9387a7bf46091e70a3e557c3e1a0e Mon Sep 17 00:00:00 2001
From: nasmnc01 <nashe.mncube at arm.com>
Date: Wed, 13 Nov 2024 18:04:31 +0000
Subject: [PATCH] [llvm][ARM] Missing switch statement handles
PR #115153 added enums which needed to be handled in
a switch statement. This trips up buildbot.
Change-Id: Ic361cffb51a0924a77adc573fe653a30fe017a42
---
llvm/lib/Target/ARM/ARMSubtarget.cpp | 2 ++
1 file changed, 2 insertions(+)
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:
More information about the llvm-commits
mailing list