[AArch64][GlobalISel] Add disjoint handling for add_and_or_is_add. (#123594)
[llvm-project.git] / clang / test / Driver / hexagon-default-build-attributes.s
blob58f246c2f805da93f1166f70da16faab2c9e921b
1 /// Enabled by default for assembly
2 // RUN: %clang --target=hexagon-unknown-elf -### %s 2>&1 \
3 // RUN: | FileCheck %s -check-prefix CHECK-ENABLED
5 /// Can be forced on or off for assembly.
6 // RUN: %clang --target=hexagon-unknown-elf -### %s 2>&1 -mno-default-build-attributes \
7 // RUN: | FileCheck %s -check-prefix CHECK-DISABLED
8 // RUN: %clang --target=hexagon-unknown-elf -### %s 2>&1 -mdefault-build-attributes \
9 // RUN: | FileCheck %s -check-prefix CHECK-ENABLED
11 /// Option ignored C/C++ (since we always emit hardware and ABI build attributes
12 /// during codegen).
13 // RUN: %clang --target=hexagon-unknown-elf -### -x c %s -mdefault-build-attributes 2>&1 \
14 // RUN: | FileCheck %s -check-prefix CHECK-DISABLED-C
15 // RUN: %clang --target=hexagon-unknown-elf -### -x c++ %s -mdefault-build-attributes 2>&1 \
16 // RUN: | FileCheck %s -check-prefix CHECK-DISABLED-C
18 // CHECK-DISABLED-NOT: "-hexagon-add-build-attributes"
19 // CHECK-DISABLED-C-NOT: "-hexagon-add-build-attributes"
20 // CHECK-ENABLED: "-hexagon-add-build-attributes"
21 // CHECK-DISABLED-C: argument unused during compilation: '-mdefault-build-attributes'