2018-04-13 00:25:35 +08:00
|
|
|
// RUN: %clang -target hexagon -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
|
|
|
|
// RUN: %clang -target hexagon -fvectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-VECTOR
|
|
|
|
// RUN: %clang -target hexagon -fvectorize -fno-vectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOVECTOR
|
2018-04-17 03:11:17 +08:00
|
|
|
// RUN: %clang -target hexagon -fvectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-NEEDHVX
|
2018-04-13 00:25:35 +08:00
|
|
|
|
2018-10-27 12:51:09 +08:00
|
|
|
// CHECK-DEFAULT-NOT: hexagon-autohvx
|
|
|
|
// CHECK-VECTOR: "-mllvm" "-hexagon-autohvx"
|
|
|
|
// CHECK-NOVECTOR-NOT: hexagon-autohvx
|
2018-04-17 03:11:17 +08:00
|
|
|
// CHECK-NEEDHVX: warning: auto-vectorization requires HVX, use -mhvx to enable it
|