xref: /llvm-project/clang/test/Driver/arm-no-movt.c (revision 0810739d4c5ef01c1eb14d5de55285e01b0b9e0f)
1 // RUN: %clang -target armv7-apple-darwin -### %s 2>&1 \
2 // RUN:    | FileCheck %s -check-prefix CHECK-DEFAULT
3 
4 // RUN: %clang -target armv7-apple-darwin -mkernel -### %s 2>&1 \
5 // RUN:    | FileCheck %s -check-prefix CHECK-KERNEL
6 
7 // RUN: %clang -target armv7-none-gnueabi -mno-movt -### %s 2>&1 \
8 // RUN:    | FileCheck %s -check-prefix CHECK-NO-MOVT
9 
10 // CHECK-DEFAULT-NOT: "-target-feature" "+no-movt"
11 
12 // CHECK-KERNEL: "-target-feature" "+no-movt"
13 
14 // CHECK-NO-MOVT: "-target-feature" "+no-movt"
15