https://bugs.llvm.org/show_bug.cgi?id=45434

            Bug ID: 45434
           Summary: Thin LTO ignores -fno-vectorize and -fno-slp-vectorize
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedb...@nondot.org
          Reporter: d...@znu.io
                CC: llvm-bugs@lists.llvm.org, smithp...@googlemail.com

Currently, there is no way to disable loop or SLP vectorization when using LTO.
This is unfortunate when targeting AVX2 or AVX512 machines where poor cost
modeling by the auto-vectorizers becomes painfully obvious.

The normal workaround doesn't work either, namely:
`-Wl,-plugin-opt,-vectorize-loops=false and
-Wl,-plugin-opt,-vectorize-slp=false`. Teresa Johnson confirmed via private
email that this is the case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to