llvm-project/clang/test/Driver/arm-no-movt.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
500 B
C
Raw Normal View History

// 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"