diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-10-24 17:55:13 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-10-24 17:55:13 +0000 |
| commit | 57b5ac14314b18d3259999f9283a962b3b065c56 (patch) | |
| tree | 885542f2b279d91464a797afaf999c0a02608681 | |
| parent | 3113ec3dc78e027fcfeef54a62d117c9d566d4f1 (diff) | |
| download | bcm5719-llvm-57b5ac14314b18d3259999f9283a962b3b065c56.tar.gz bcm5719-llvm-57b5ac14314b18d3259999f9283a962b3b065c56.zip | |
[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 enable auto-vectorization on Hexagon
in all cases, regardless of the -fvectorize flag. There is a companion
clang patch that together with this one forms an NFC for clang users.
llvm-svn: 345169
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp index 79b269bccfe..5cfaa42ae5c 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp +++ b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp @@ -28,7 +28,7 @@ using namespace llvm; #define DEBUG_TYPE "hexagontti" -static cl::opt<bool> HexagonAutoHVX("hexagon-autohvx", cl::init(false), +static cl::opt<bool> HexagonAutoHVX("hexagon-autohvx", cl::init(true), cl::Hidden, cl::desc("Enable loop vectorizer for HVX")); static cl::opt<bool> EmitLookupTables("hexagon-emit-lookup-tables", |

