[llvm] 57cf199 - [llvm][ARM] Missing switch statement handles (#116086)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 10:13:12 PST 2024


Author: Nashe Mncube
Date: 2024-11-13T18:13:09Z
New Revision: 57cf199be2f1496e242f6dcd32456b3ed816d46d

URL: https://github.com/llvm/llvm-project/commit/57cf199be2f1496e242f6dcd32456b3ed816d46d
DIFF: https://github.com/llvm/llvm-project/commit/57cf199be2f1496e242f6dcd32456b3ed816d46d.diff

LOG: [llvm][ARM] Missing switch statement handles (#116086)

PR #115153 added enums which needed to be handled in a switch statement.
This trips up buildbot.

Added: 
    

Modified: 
    llvm/lib/Target/ARM/ARMSubtarget.cpp

Removed: 
    


################################################################################
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