[all-commits] [llvm/llvm-project] 5b30fc: [opt] Add -p alias for -passes
aeubanks via All-commits
all-commits at lists.llvm.org
Wed Nov 2 10:47:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b30fc23696eb9c01c1182a438709120853cf06d
https://github.com/llvm/llvm-project/commit/5b30fc23696eb9c01c1182a438709120853cf06d
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2022-11-02 (Wed, 02 Nov 2022)
Changed paths:
M llvm/docs/NewPassManager.rst
M llvm/test/Other/new-pass-manager.ll
M llvm/tools/opt/opt.cpp
Log Message:
-----------
[opt] Add -p alias for -passes
See [1] for background.
Some people have complained that `opt -passes=instcombine` is a lot more typing than `opt -instcombine`.
As a compromise that nobody has objected to in [1], allow `opt -p instcombine`.
[1] https://discourse.llvm.org/t/rfc-legacy-opt-pass-syntax-with-new-pass-manager/65863
Reviewed By: bjope, asbirlea
Differential Revision: https://reviews.llvm.org/D136616
More information about the All-commits
mailing list