[all-commits] [llvm/llvm-project] fa6ea7: [AlwaysInliner] Make legacy pass like the new pass
aeubanks via All-commits
all-commits at lists.llvm.org
Tue Mar 21 11:04:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fa6ea7a419f37befbed04368bcb8af4c718facbb
https://github.com/llvm/llvm-project/commit/fa6ea7a419f37befbed04368bcb8af4c718facbb
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2023-03-21 (Tue, 21 Mar 2023)
Changed paths:
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Transforms/IPO/Inliner.h
M llvm/include/llvm/Transforms/Utils/Cloning.h
M llvm/lib/Analysis/AliasAnalysis.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Transforms/IPO/AlwaysInliner.cpp
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/lib/Transforms/IPO/ModuleInliner.cpp
M llvm/lib/Transforms/IPO/PartialInlining.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
Log Message:
-----------
[AlwaysInliner] Make legacy pass like the new pass
The legacy pass is only used in AMDGPU codegen, which doesn't care about running it in call graph order (it actually has to work around that fact).
Make the legacy pass a module pass and share code with the new pass.
This allows us to remove the legacy inliner infrastructure.
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D146446
More information about the All-commits
mailing list