summaryrefslogtreecommitdiff
path: root/lib/Driver/ToolChains/Hexagon.h
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-04-16 19:11:17 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-04-16 19:11:17 +0000
commitf466546ba6b09e874148348332e52a61ecf54028 (patch)
tree075d305c10db28c40ab6e02e72f6b27478c86bbb /lib/Driver/ToolChains/Hexagon.h
parentcdd385130402fe06671d142d408084e6497cbbc5 (diff)
downloadclang-f466546ba6b09e874148348332e52a61ecf54028.tar.gz
[Hexagon] Emit a warning when -fvectorize is given without -mhvx
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains/Hexagon.h')
-rw-r--r--lib/Driver/ToolChains/Hexagon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Driver/ToolChains/Hexagon.h b/lib/Driver/ToolChains/Hexagon.h
index 229a08c76d..e43b8a5b88 100644
--- a/lib/Driver/ToolChains/Hexagon.h
+++ b/lib/Driver/ToolChains/Hexagon.h
@@ -94,6 +94,7 @@ public:
void getHexagonLibraryPaths(const llvm::opt::ArgList &Args,
ToolChain::path_list &LibPaths) const;
+ static bool isAutoHVXEnabled(const llvm::opt::ArgList &Args);
static const StringRef GetDefaultCPU();
static const StringRef GetTargetCPUVersion(const llvm::opt::ArgList &Args);