[compiler-rt] b28ec3f - [compiler-rt][X86] fix build fail after "[X86] Support -march=rocketlake"

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 23:34:25 PDT 2021


Author: Freddy Ye
Date: 2021-04-13T14:33:12+08:00
New Revision: b28ec3fd18ae40a17aeef410c82c0181168c11d4

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

LOG: [compiler-rt][X86] fix build fail after "[X86] Support -march=rocketlake"
This copy error will cause a failed builder on sanitizer-x86_64-linux

Added: 
    

Modified: 
    compiler-rt/lib/builtins/cpu_model.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/cpu_model.c b/compiler-rt/lib/builtins/cpu_model.c
index 1900f50feaee..6ee42911b204 100644
--- a/compiler-rt/lib/builtins/cpu_model.c
+++ b/compiler-rt/lib/builtins/cpu_model.c
@@ -390,6 +390,7 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
       CPU = "rocketlake";
       *Type = INTEL_COREI7;
       *Subtype = INTEL_COREI7_ROCKETLAKE;
+      break;
 
     // Skylake Xeon:
     case 0x55:


        


More information about the llvm-commits mailing list