[PATCH] D21840: [Driver][CUDA][OpenMP] Reimplement tool selection in the driver.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 09:45:09 PDT 2016


sfantao created this revision.
sfantao added reviewers: echristo, tra, jlebar, hfinkel, ABataev, rsmith.
sfantao added subscribers: carlo.bertolli, arpith-jacob, caomhin, andreybokhanko, Hahnfeld, cfe-commits.
Herald added a subscriber: mehdi_amini.

This creates a tool selector in the driver that replaces the existing one. The goal is to better organize the code and make the selector easier to scale, in particular in the presence of offload actions that can be collapsed. 

The current implementation became more confusing when the support for offloading actions was added. This concern was expressed by Eric in http://reviews.llvm.org/D9888.

This patch does not add new testing, it preserves the existing functionality.

http://reviews.llvm.org/D21840

Files:
  include/clang/Driver/Action.h
  lib/Driver/Driver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21840.62232.patch
Type: text/x-patch
Size: 19305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160629/7c340e19/attachment-0001.bin>


More information about the cfe-commits mailing list