[llvm] r345169 - [Hexagon] Flip hexagon-autohvx to be true by default

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 26 16:03:33 PDT 2018


FYI, this breaks some of our Halide tests. We're seeing timeouts (tests
hanging or taking a very large amount of time to compile).
We're looking to obtain a reproducer, but reverting would be good in order
to unblock folks.

On Wed, Oct 24, 2018 at 10:57 AM Krzysztof Parzyszek via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: kparzysz
> Date: Wed Oct 24 10:55:13 2018
> New Revision: 345169
>
> URL: http://llvm.org/viewvc/llvm-project?rev=345169&view=rev
> Log:
> [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.
>
> Modified:
>     llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
>
> Modified: llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp?rev=345169&r1=345168&r2=345169&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp (original)
> +++ llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp Wed Oct
> 24 10:55:13 2018
> @@ -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",
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181026/d2afe14e/attachment.html>


More information about the llvm-commits mailing list