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

11 lines
319 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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"