[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 10:02:32 PST 2017


craig.topper updated this revision to Diff 123614.
craig.topper added a comment.

Address comments.

The value of 'none' is intended to cancel out any other option specified. I've changed it so that we no longer pass 'none' to llvm and instead suppress the attribute.


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.123614.patch
Type: text/x-patch
Size: 6533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171120/6b43d86a/attachment.bin>


More information about the cfe-commits mailing list