1 // RUN: %clang -target hexagon -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
2 // RUN: %clang -target hexagon -fvectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-VECTOR
3 // RUN: %clang -target hexagon -fvectorize -fno-vectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOVECTOR
4 // RUN: %clang -target hexagon -fvectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-NEEDHVX
5 
6 // CHECK-DEFAULT-NOT: hexagon-autohvx
7 // CHECK-VECTOR: "-mllvm" "-hexagon-autohvx"
8 // CHECK-NOVECTOR-NOT: hexagon-autohvx
9 // CHECK-NEEDHVX: warning: auto-vectorization requires HVX, use -mhvx to enable it
10