[all-commits] [llvm/llvm-project] 1d5651: [opt] Exposing the parameters of LoopRotate to the...
Yann Girsberger via All-commits
all-commits at lists.llvm.org
Thu Jun 22 11:09:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d5651060e14eeee1323bb8ca4fb34d452c3db89
https://github.com/llvm/llvm-project/commit/1d5651060e14eeee1323bb8ca4fb34d452c3db89
Author: Yann Girsberger <yann at ywg.ch>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/LoopRotation.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/Scalar/LoopRotation.cpp
M llvm/test/Other/new-pm-print-pipeline.ll
Log Message:
-----------
[opt] Exposing the parameters of LoopRotate to the -passes interface
There is a gap between running opt -Oz and running opt -passes="OZ_PASSES" where OZ_PASSES is taken from running opt -Oz -print-pipeline-passes.
One of the reasons causing this is that -Oz uses non-default setting for LoopRotate but LoopRotate does not expose its settings when printing the pipeline.
This commit fixes this by exposing LoopRotates parameters.
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D153437
More information about the All-commits
mailing list