aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/arm-no-movt.c
blob: 69085931c3f34e6669ff44b48a3297aa900beda8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang -target armv7-apple-darwin -### %s 2>&1 \
// RUN:    | FileCheck %s -check-prefix CHECK-DEFAULT

// RUN: %clang -target armv7-apple-darwin -mkernel -### %s 2>&1 \
// RUN:    | FileCheck %s -check-prefix CHECK-KERNEL

// RUN: %clang -target armv7-none-gnueabi -mno-movt -### %s 2>&1 \
// RUN:    | FileCheck %s -check-prefix CHECK-NO-MOVT

// CHECK-DEFAULT-NOT: "-target-feature" "+no-movt"

// CHECK-KERNEL: "-target-feature" "+no-movt"

// CHECK-NO-MOVT: "-target-feature" "+no-movt"