You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
609 B
10 lines
609 B
// 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
|
|
// RUN: %clang -target hexagon -fvectorize -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-NEEDHVX
|
|
|
|
// CHECK-DEFAULT-NOT: hexagon-autohvx
|
|
// CHECK-VECTOR: "-mllvm" "-hexagon-autohvx"
|
|
// CHECK-NOVECTOR-NOT: hexagon-autohvx
|
|
// CHECK-NEEDHVX: warning: auto-vectorization requires HVX, use -mhvx to enable it
|