[PATCH] add the -mrecip driver flag and process its options

Sanjay Patel spatel at rotateright.com
Fri May 15 10:50:04 PDT 2015


Patch updated:

1. Changed to error out on duplicate argument settings to the -mrecip option; eg: -mrecip=divf,divf
2. Improved variable names
3. Changed refinement step token to ':' (this just looks better than '.' IMO)
4. Fixed logic bug when parsing optional refinement step arg; was allowing correct prefix with bogus suffix ('divffoo') to get through


http://reviews.llvm.org/D8989

Files:
  include/clang/Basic/TargetOptions.h
  include/clang/Driver/Options.td
  lib/CodeGen/BackendUtil.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/mrecip.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8989.25878.patch
Type: text/x-patch
Size: 8729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150515/a23ea28e/attachment.bin>


More information about the cfe-commits mailing list