diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-06-10 14:11:23 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-06-13 11:33:54 -0400 |
commit | 1054a7318788beb99536d84b34f84fccf2289769 (patch) | |
tree | c1977535df39d1904deb14b360feb7a05dd7c0e3 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 70ade047a44584aa3c31735690e2bffe17d6b04f (diff) | |
download | llvm-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