[ARM] Split large truncating MVE stores
[llvm-complete.git] / test / tools / llvm-config / booleans.test
blob1db3383020ccec26c2377affd2e743c2e49f62ae
1 # Check whether boolean options are consistently normalized to ON/OFF.
2 RUN: llvm-config --assertion-mode 2>&1 | FileCheck --check-prefix=CHECK-ONOFF %s
3 RUN: llvm-config --has-global-isel 2>&1 | FileCheck --check-prefix=CHECK-ONOFF %s
4 CHECK-ONOFF: {{ON|OFF}}
5 CHECK-ONOFF-NOT: error:
6 CHECK-ONOFF-NOT: warning
8 # ...or to YES/NO.
9 RUN: llvm-config --has-rtti 2>&1 | FileCheck --check-prefix=CHECK-YESNO %s
10 CHECK-YESNO: {{YES|NO}}
11 CHECK-YESNO-NOT: error:
12 CHECK-YESNO-NOT: warning
14 # Also check some other multi-choice options.
15 RUN: llvm-config --build-mode 2>&1 | FileCheck --check-prefix=CHECK-BUILD-MODE %s
16 CHECK-BUILD-MODE: {{[Dd][Ee][Bb][Uu][Gg]|[Rr][Ee][Ll][Ee][Aa][Ss][Ee]|[Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo]|[Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll]}}
17 CHECK-BUILD-MODE-NOT: error:
18 CHECK-BUILD-MODE-NOT: warning
20 RUN: llvm-config --build-system 2>&1 | FileCheck --check-prefix=CHECK-BUILD-SYSTEM %s
21 CHECK-BUILD-SYSTEM: {{cmake|gn}}
22 CHECK-BUILD-SYSTEM-NOT: error:
23 CHECK-BUILD-SYSTEM-NOT: warning
25 RUN: llvm-config --shared-mode 2>&1 | FileCheck --check-prefix=CHECK-SHARED-MODE %s
26 CHECK-SHARED-MODE: {{static|shared}}
27 CHECK-SHARED-MODE-NOT: error:
28 CHECK-SHARED-MODE-NOT: warning