diff options
author | Fabian Mora <fmora.dev@gmail.com> | 2023-09-04 20:51:44 -0400 |
---|---|---|
committer | Fabian Mora <fmora.dev@gmail.com> | 2023-09-04 20:54:29 -0400 |
commit | e22f04b597e03339739d42e3a60c05634bb74313 (patch) | |
tree | f1b0527a3e40456488e6d4ba7fb9c923c33d6195 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 91746d15d2e0975b460b3576c60c6ed5d9f15bd1 (diff) | |
download | llvm-e22f04b597e03339739d42e3a60c05634bb74313.zip llvm-e22f04b597e03339739d42e3a60c05634bb74313.tar.gz llvm-e22f04b597e03339739d42e3a60c05634bb74313.tar.bz2 |
[mlir][gpu] Fix option parsing in `TargetOptions`
`TargetOptions` includes a field for passing additional command line options to
the GPU compilation process. This field is typically used during the 'gpu-module-to-binary`
pass:
```
--gpu-module-to-binary=opts="-v -c"
```
The problem is that `tokenizeCmdOptions` receives the quoted string, which produces an
incorrect tokenization for `"-v -c"`. This patch removes quotes, fixing this issue.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D159434
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions