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-25 01:55:18 +08:00
|
|
|
// CHECK-DEFAULT: -hexagon-autohvx={{false|0}}
|
|
|
|
// CHECK-VECTOR-NOT: -hexagon-autohvx={{false|0}}
|
|
|
|
// CHECK-NOVECTOR: -hexagon-autohvx={{false|0}}
|
2018-04-17 03:11:17 +08:00
|
|
|
// CHECK-NEEDHVX: warning: auto-vectorization requires HVX, use -mhvx to enable it
|