diff options
author | River Riddle <riddleriver@gmail.com> | 2020-02-07 14:11:30 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-02-07 14:11:50 -0800 |
commit | 7476e569b55ab260522751e9c2e8c5646956f8d1 (patch) | |
tree | b7d99e3c161a41a94a8e1def51085ce9b5f645e7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ae39105466c477c5466efe0763a0ab1a23a274cd (diff) | |
download | llvm-7476e569b55ab260522751e9c2e8c5646956f8d1.zip llvm-7476e569b55ab260522751e9c2e8c5646956f8d1.tar.gz llvm-7476e569b55ab260522751e9c2e8c5646956f8d1.tar.bz2 |
[mlir][Pass] Enable printing pass options as part of `-help`.
Summary:
This revision adds support for printing pass options as part of the normal help description. This also moves registered passes and pipelines into different sections of the help.
Example:
```
Compiler passes to run
--pass-pipeline - ...
Passes:
--affine-data-copy-generate - ...
--convert-gpu-to-spirv - ...
--workgroup-size=<long> - ...
--test-options-pass - ...
--list=<int> - ...
--string=<string> - ...
--string-list=<string> - ...
Pass Pipelines:
--test-options-pass-pipeline - ...
--list=<int> - ...
--string=<string> - ...
--string-list=<string> - ...
```
Differential Revision: https://reviews.llvm.org/D74246
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions