[llvm-bugs] [Bug 45434] New: Thin LTO ignores -fno-vectorize and -fno-slp-vectorize
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 5 04:09:48 PDT 2020
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: unassignedbugs at nondot.org
Reporter: dave at znu.io
CC: llvm-bugs at lists.llvm.org, smithp352 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200405/f5777146/attachment.html>
More information about the llvm-bugs
mailing list