diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-06-20 10:17:40 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-06-22 09:25:04 -0400 |
commit | 21e29b6ce734cca1557aa801740078d98c3ff447 (patch) | |
tree | 191fa35aa832413b4518903600e5e9fb9137c1d4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 958a8850508088766fe19202037e2f46805e2c65 (diff) | |
download | llvm-21e29b6ce734cca1557aa801740078d98c3ff447.zip llvm-21e29b6ce734cca1557aa801740078d98c3ff447.tar.gz llvm-21e29b6ce734cca1557aa801740078d98c3ff447.tar.bz2 |
[Clang] Allow multiple comma separated arguments to `--offload-arch=`
This patch updates the `--[no-]offload-arch` command line arguments to
allow the user to pass in many architectures in a single argument rather
than specifying it multiple times. This means that the following command
line,
```
clang foo.cu --offload-arch=sm_70 --offload-arch=sm_80
```
can become:
```
clang foo.cu --offload-arch=sm_70,sm_80
```
Reviewed By: ye-luo
Differential Revision: https://reviews.llvm.org/D128206
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions