aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-10-24 17:55:18 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-10-24 17:55:18 +0000
commitdd2b9dd64f8c056547fe8a9448ca3d424767e106 (patch)
tree27d5543d978ced5c2cdc371cc4f0c203dceed6b7 /test
parentc83cf570cd01a948fc0f209616379373f83043b9 (diff)
[Hexagon] Flip hexagon-autohvx to be true by default
This will allow other generators of LLVM IR to use the auto-vectorizer without having to change that flag. Note: on its own, this patch will disable auto-vectorization on Hexagon in all cases, regardless of the -fvectorize flag. There is a companion LLVM patch that together with this one forms an NFC for clang users. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Driver/hexagon-vectorize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/hexagon-vectorize.c b/test/Driver/hexagon-vectorize.c
index dcd6a09222..145011ccea 100644
--- a/test/Driver/hexagon-vectorize.c
+++ b/test/Driver/hexagon-vectorize.c
@@ -3,7 +3,7 @@
// 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-DEFAULT: -hexagon-autohvx={{false|0}}
+// CHECK-VECTOR-NOT: -hexagon-autohvx={{false|0}}
+// CHECK-NOVECTOR: -hexagon-autohvx={{false|0}}
// CHECK-NEEDHVX: warning: auto-vectorization requires HVX, use -mhvx to enable it