[PATCH] D40230: Add -mprefer-vector-width driver option and attribute during CodeGen.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 20 20:17:37 PST 2017
craig.topper updated this revision to Diff 123709.
craig.topper added a comment.
Still pass the attribute the backend if the value is 'none'.
We actually need this to know if the user specified the command line option at all. The value of 'none' should disable limits and prevents needing to pick a specific value.
https://reviews.llvm.org/D40230
Files:
docs/ClangCommandLineReference.rst
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGCall.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/attr-mprefer-vector-width.c
test/Driver/mprefer-vector-width.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40230.123709.patch
Type: text/x-patch
Size: 6481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171121/f0f339da/attachment-0001.bin>
More information about the cfe-commits
mailing list