aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2021-08-18 23:22:35 +0200
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2021-08-20 14:59:21 +0200
commitd52f506192336e75296a951d8ee02fff3c28571d (patch)
tree8224125ec6f517884874fbbfa49785366b80fff1 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent65d677435e9e6d21d53e1b92c22d598a6503d9ed (diff)
downloadllvm-d52f506192336e75296a951d8ee02fff3c28571d.zip
llvm-d52f506192336e75296a951d8ee02fff3c28571d.tar.gz
llvm-d52f506192336e75296a951d8ee02fff3c28571d.tar.bz2
[NewPM] Use parameterized syntax for a couple of more passes
A couple of passes that are parameterized in new-PM used different pass names (in cmd line interface) while using the same pass class name. This patch updates the PassRegistry to model pass parameters more properly using PASS_WITH_PARAMS. Reason for the change is to ensure that we have a 1-1 mapping between class name and pass name (when disregarding the params). With a 1-1 mapping it is more obvious which pass name to use in options such as -debug-only, -print-after etc. The opt -passes syntax is changed for the following passes: early-cse-memssa => early-cse<memssa> post-inline-ee-instrument => ee-instrument<post-inline> loop-extract-single => loop-extract<single> lower-matrix-intrinsics-minimal => lower-matrix-intrinsics<minimal> This patch is not updating pass names in docs/Passes.rst. Not quite sure what the status is for that document (e.g. when it comes to listing pass paramters). It is only loop-extract-single that is mentioned in Passes.rst today, out of the passes mentioned above. Differential Revision: https://reviews.llvm.org/D108362
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions