llvm/clang/test/Driver/hexagon-packets.c
Krzysztof Parzyszek 06507fd283 [Hexagon] Clang side of r327302 in LLVM
Add option -m[no-]packets to control generation of instruction packets
(enabled by default).

llvm-svn: 327393
2018-03-13 13:30:43 +00:00

11 lines
327 B
C

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