-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ExclusiveGroup feature to multilib.yaml.
The armv7m.test test was wrong in that when -mfpu=none or -mfloat-abi=softfp is used, only the armv7m_soft_nofp variant should be selected. The new ExclusiveGroup: stdlibs flag would result that only one variant will be selected for other tests too. So use <prefix>-EMPTY: checks to verify.
- Loading branch information
Showing
10 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# RUN: %clang -print-multi-directory --target=aarch64-none-elf | FileCheck %s | ||
# CHECK: aarch64-none-elf/aarch64 | ||
# CHECK-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# RUN: %clang -print-multi-directory --target=arm-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv4t | ||
# CHECK-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# RUN: %clang -print-multi-directory --target=armv5e-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv5te | ||
# CHECK-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# RUN: %clang -print-multi-directory --target=armv6m-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv6m_soft_nofp | ||
# CHECK-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# RUN: %clang -print-multi-directory --target=armv7a-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv7a_soft_nofp | ||
# CHECK-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv7a-none-eabihf -mfpu=vfpv3-d16 | FileCheck --check-prefix=VFPV3 %s | ||
# VFPV3: arm-none-eabi/armv7a_hard_vfpv3_d16 | ||
# VFPV3-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# RUN: %clang -print-multi-directory --target=armv7em-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv7em_soft_nofp | ||
# CHECK-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv7em-none-eabihf -mfpu=fpv4-sp-d16 | FileCheck --check-prefix=FPV4 %s | ||
# FPV4: arm-none-eabi/armv7em_hard_fpv4_sp_d16 | ||
# FPV4-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv7em-none-eabihf -mfpu=fpv5-d16 | FileCheck --check-prefix=FPV5 %s | ||
# FPV5: arm-none-eabi/armv7em_hard_fpv5_d16 | ||
# FPV5-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# RUN: %clang -print-multi-directory --target=armv7m-none-eabi -mfpu=none | FileCheck %s | ||
# RUN: %clang -print-multi-directory --target=armv7m-none-eabi -mfpu=none -mfloat-abi=softfp | FileCheck %s | ||
# CHECK: arm-none-eabi/armv7m_soft_nofp | ||
# CHECK-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv7m-none-eabi -mfpu=none -mfloat-abi=softfp | FileCheck --check-prefix=SOFT_FPV4 %s | ||
# SOFT_FPV4: arm-none-eabi/armv7m_soft_fpv4_sp_d16 | ||
# RUN: %clang -print-multi-directory --target=armv7m-none-eabi -mfpu=vfp -mfloat-abi=softfp | FileCheck --check-prefix=SOFT-FPV4 %s | ||
# SOFT-FPV4: arm-none-eabi/armv7m_soft_fpv4_sp_d16 | ||
# SOFT-FPV4-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# RUN: %clang -print-multi-directory --target=armv7r-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv7r_soft_nofp | ||
# CHECK-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv7r-none-eabihf -mfpu=vfpv3-d16 | FileCheck --check-prefix=VFPV3 %s | ||
# VFPV3: arm-none-eabi/armv7r_hard_vfpv3_d16 | ||
# VFPV3-EMPTY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# RUN: %clang -print-multi-directory --target=armv8.1m.main-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv8.1m.main_soft_nofp | ||
# CHECK-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv8.1m.main-none-eabihf -march=armv8.1m.main -mfpu=fp-armv8-fullfp16-sp-d16 | FileCheck --check-prefix=HARD_FP %s | ||
# HARD_FP: arm-none-eabi/armv8.1m.main_hard_fp_nomve | ||
# HARD_FP-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv8.1m.main-none-eabihf -march=armv8.1m.main -mfpu=fp-armv8-fullfp16-d16 | FileCheck --check-prefix=HARD_FPDP %s | ||
# HARD_FPDP: arm-none-eabi/armv8.1m.main_hard_fpdp_nomve | ||
# HARD_FPDP-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv8.1m.main-none-eabihf -march=armv8.1m.main+mve -mfpu=none | FileCheck --check-prefix=MVE %s | ||
# MVE: arm-none-eabi/armv8.1m.main_hard_nofp_mve | ||
# MVE-EMPTY: | ||
|
||
# RUN: %clang -print-multi-flags-experimental --target=arm-none-eabihf -mcpu=cortex-m55 | FileCheck --check-prefix=CORTEXM55 %s | ||
# CORTEXM55: -march=thumbv8.1m.main+fp16+lob+mve.fp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# RUN: %clang -print-multi-directory --target=armv8m.main-none-eabi -mfpu=none | FileCheck %s | ||
# CHECK: arm-none-eabi/armv8m.main_soft_nofp | ||
# CHECK-EMPTY: | ||
|
||
# RUN: %clang -print-multi-directory --target=armv8m.main-none-eabihf -mfpu=fpv5-sp-d16 | FileCheck --check-prefix=HARD %s | ||
# HARD: arm-none-eabi/armv8m.main_hard_fp | ||
# HARD-EMPTY: |