aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-06-10 14:11:23 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-06-13 11:33:54 -0400
commit1054a7318788beb99536d84b34f84fccf2289769 (patch)
treec1977535df39d1904deb14b360feb7a05dd7c0e3 /clang/lib/CodeGen/ModuleBuilder.cpp
parent70ade047a44584aa3c31735690e2bffe17d6b04f (diff)
downloadllvm-1054a7318788beb99536d84b34f84fccf2289769.zip
llvm-1054a7318788beb99536d84b34f84fccf2289769.tar.gz
llvm-1054a7318788beb99536d84b34f84fccf2289769.tar.bz2
[Clang] Change host/device only compilation to a driver mode
We use the flags `--offload-host-only` and `--offload-device-only` to change the driver's code generation for offloading programs. These are currently parsed out independently in many places. This patch simply refactors this to work as a mode for the Driver. This stopped us from emitting warnings if unused because it's always used now, but I don't think this is a great loss. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D127515
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions