Skip to content

Commit 0cd2629

Browse files
committed
[llvm][ARM] Remove non-existent arm1176j-s CPU
This was removed in https://reviews.llvm.org/D52594 for clang. The one test using it has been updated to use the mpcore CPU as the linked clang change does. This is part of fixing https://bugs.llvm.org/show_bug.cgi?id=50454. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D103022
1 parent 6359842 commit 0cd2629

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

llvm/lib/Target/ARM/ARM.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,6 @@ def : Processor<"cortex-m1", ARMV6Itineraries, [ARMv6m,
10101010
def : Processor<"sc000", ARMV6Itineraries, [ARMv6m,
10111011
FeatureHasNoBranchPredictor]>;
10121012

1013-
def : Processor<"arm1176j-s", ARMV6Itineraries, [ARMv6kz]>;
10141013
def : Processor<"arm1176jz-s", ARMV6Itineraries, [ARMv6kz]>;
10151014
def : Processor<"arm1176jzf-s", ARMV6Itineraries, [ARMv6kz,
10161015
FeatureVFP2,

llvm/test/CodeGen/ARM/build-attributes.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@
206206
; RUN: llc < %s -mtriple=armv6-none-linux-gnueabi -mcpu=arm1136j-s -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
207207
; RUN: llc < %s -mtriple=armv6-none-linux-gnueabi -mcpu=arm1136j-s | FileCheck %s --check-prefix=NO-STRICT-ALIGN
208208
; ARMv6k
209-
; RUN: llc < %s -mtriple=armv6k-none-netbsd-gnueabi -mcpu=arm1176j-s 2> %t | FileCheck %s --check-prefix=NO-STRICT-ALIGN
209+
; RUN: llc < %s -mtriple=armv6k-none-netbsd-gnueabi -mcpu=mpcore 2> %t | FileCheck %s --check-prefix=NO-STRICT-ALIGN
210210
; RUN: FileCheck %s < %t --allow-empty --check-prefix=CPU-SUPPORTED
211-
; RUN: llc < %s -mtriple=armv6k-none-linux-gnueabi -mcpu=arm1176j-s -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
212-
; RUN: llc < %s -mtriple=armv6k-none-linux-gnueabi -mcpu=arm1176j-s | FileCheck %s --check-prefix=NO-STRICT-ALIGN
211+
; RUN: llc < %s -mtriple=armv6k-none-linux-gnueabi -mcpu=mpcore -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
212+
; RUN: llc < %s -mtriple=armv6k-none-linux-gnueabi -mcpu=mpcore | FileCheck %s --check-prefix=NO-STRICT-ALIGN
213213
; ARMv6m
214214
; RUN: llc < %s -mtriple=thumb-none-linux-gnueabi -mcpu=cortex-m0 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
215215
; RUN: llc < %s -mtriple=thumb-none-linux-gnueabi -mattr=+strict-align -mcpu=cortex-m0 | FileCheck %s --check-prefix=STRICT-ALIGN

llvm/unittests/Support/TargetParserTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,6 @@ TEST(TargetParserTest, testARMExtension) {
549549
ARM::ArchKind::INVALID, "simd"));
550550
EXPECT_FALSE(testARMExtension("arm1136jf-s",
551551
ARM::ArchKind::INVALID, "crypto"));
552-
EXPECT_FALSE(testARMExtension("arm1176j-s",
553-
ARM::ArchKind::INVALID, "crypto"));
554552
EXPECT_FALSE(testARMExtension("arm1156t2-s",
555553
ARM::ArchKind::INVALID, "crypto"));
556554
EXPECT_FALSE(testARMExtension("arm1176jzf-s",

0 commit comments

Comments
 (0)