[PATCH] D143980: [NFC][SeparateConstOffsetFromGEP] Added flag `lower-gep`
Liren.Peng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 14 01:40:12 PST 2023
Peakulorain added a comment.
In D143980#4125207 <https://reviews.llvm.org/D143980#4125207>, @nikic wrote:
> As LowerGEP is a pass parameter, it would be better to expose it via the NewPM pass parameter intrastructure. It would become something like `-passes="separate-const-offset-from-gep<lower-gep>"`. Grep for FUNCTION_PASS_WITH_PARAMS for some examples.
Thanks a lot, what you suggested is more elegant.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143980/new/
https://reviews.llvm.org/D143980
More information about the llvm-commits
mailing list