forked from OSchip/llvm-project
Reverting r335326 while I look at the test failure
llvm-svn: 335328
This commit is contained in:
parent
6d711ca168
commit
7ee5b090de
|
@ -526,15 +526,13 @@ def ARMv6m : Architecture<"armv6-m", "ARMv6m", [HasV6MOps,
|
||||||
FeatureNoARM,
|
FeatureNoARM,
|
||||||
ModeThumb,
|
ModeThumb,
|
||||||
FeatureDB,
|
FeatureDB,
|
||||||
FeatureMClass,
|
FeatureMClass]>;
|
||||||
FeatureStrictAlign]>;
|
|
||||||
|
|
||||||
def ARMv6sm : Architecture<"armv6s-m", "ARMv6sm", [HasV6MOps,
|
def ARMv6sm : Architecture<"armv6s-m", "ARMv6sm", [HasV6MOps,
|
||||||
FeatureNoARM,
|
FeatureNoARM,
|
||||||
ModeThumb,
|
ModeThumb,
|
||||||
FeatureDB,
|
FeatureDB,
|
||||||
FeatureMClass,
|
FeatureMClass]>;
|
||||||
FeatureStrictAlign]>;
|
|
||||||
|
|
||||||
def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops,
|
def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops,
|
||||||
FeatureNEON,
|
FeatureNEON,
|
||||||
|
@ -644,8 +642,7 @@ def ARMv8mBaseline : Architecture<"armv8-m.base", "ARMv8mBaseline",
|
||||||
FeatureV7Clrex,
|
FeatureV7Clrex,
|
||||||
Feature8MSecExt,
|
Feature8MSecExt,
|
||||||
FeatureAcquireRelease,
|
FeatureAcquireRelease,
|
||||||
FeatureMClass,
|
FeatureMClass]>;
|
||||||
FeatureStrictAlign]>;
|
|
||||||
|
|
||||||
def ARMv8mMainline : Architecture<"armv8-m.main", "ARMv8mMainline",
|
def ARMv8mMainline : Architecture<"armv8-m.main", "ARMv8mMainline",
|
||||||
[HasV8MMainlineOps,
|
[HasV8MMainlineOps,
|
||||||
|
|
|
@ -73,13 +73,13 @@
|
||||||
; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=+neon,+fp16 | FileCheck %s --check-prefix=GENERIC-FPU-NEON-FP16
|
; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=+neon,+fp16 | FileCheck %s --check-prefix=GENERIC-FPU-NEON-FP16
|
||||||
|
|
||||||
; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 | FileCheck %s --check-prefix=CORTEX-M0
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -mattr=+strict-align | FileCheck %s --check-prefix=CORTEX-M0
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M0-FAST
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -mattr=+strict-align -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M0-FAST
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus | FileCheck %s --check-prefix=CORTEX-M0PLUS
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -mattr=+strict-align | FileCheck %s --check-prefix=CORTEX-M0PLUS
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M0PLUS-FAST
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -mattr=+strict-align -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M0PLUS-FAST
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 | FileCheck %s --check-prefix=CORTEX-M1
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align | FileCheck %s --check-prefix=CORTEX-M1
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M1-FAST
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M1-FAST
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
|
||||||
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=sc000 -mattr=+strict-align | FileCheck %s --check-prefix=SC000
|
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=sc000 -mattr=+strict-align | FileCheck %s --check-prefix=SC000
|
||||||
|
@ -226,7 +226,8 @@
|
||||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-NEON
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-NEON
|
||||||
|
|
||||||
; ARMv8-M
|
; ARMv8-M
|
||||||
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m23 | FileCheck %s --check-prefix=STRICT-ALIGN
|
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m23 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
|
||||||
|
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m23 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
|
||||||
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m33 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
|
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m33 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
|
||||||
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m33 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
|
; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m33 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
|
||||||
|
|
||||||
|
@ -1354,7 +1355,7 @@
|
||||||
; CORTEX-M23: .eabi_attribute 8, 0
|
; CORTEX-M23: .eabi_attribute 8, 0
|
||||||
; CORTEX-M23: .eabi_attribute 9, 3
|
; CORTEX-M23: .eabi_attribute 9, 3
|
||||||
; CORTEX-M23-NOT: .eabi_attribute 27
|
; CORTEX-M23-NOT: .eabi_attribute 27
|
||||||
; CORTEX-M23: .eabi_attribute 34, 0
|
; CORTEX-M23: .eabi_attribute 34, 1
|
||||||
; CORTEX-M23-NOT: .eabi_attribute 44
|
; CORTEX-M23-NOT: .eabi_attribute 44
|
||||||
; CORTEX-M23: .eabi_attribute 17, 1
|
; CORTEX-M23: .eabi_attribute 17, 1
|
||||||
;; We default to IEEE 754 compliance
|
;; We default to IEEE 754 compliance
|
||||||
|
|
Loading…
Reference in New Issue