llvm-for-llvmta/tools/clang/test/Driver/hexagon-memops.c

11 lines
319 B
C

// RUN: %clang -target hexagon -### -mmemops %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-MEMOPS
// RUN: %clang -target hexagon -### -mno-memops %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-NO-MEMOPS
// CHECK-MEMOPS: "-target-feature" "+memops"
// CHECK-NO-MEMOPS: "-target-feature" "-memops"