[all-commits] [llvm/llvm-project] badd08: [GlobalOpt] Enable optimization of constructors wi...
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Fri May 13 15:20:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: badd088c57d7d18acd337b7868fe8c7974c88c5b
https://github.com/llvm/llvm-project/commit/badd088c57d7d18acd337b7868fe8c7974c88c5b
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2022-05-13 (Fri, 13 May 2022)
Changed paths:
M llvm/include/llvm/Transforms/Utils/CtorUtils.h
M llvm/lib/Transforms/IPO/GlobalDCE.cpp
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/lib/Transforms/Utils/CtorUtils.cpp
M llvm/test/Transforms/GlobalOpt/ctor-list-opt.ll
Log Message:
-----------
[GlobalOpt] Enable optimization of constructors with different priorities
Adjust `optimizeGlobalCtorsList` to handle the case of different priorities.
This addresses the issue https://github.com/llvm/llvm-project/issues/55083.
Test plan: ninja check-all
Differential revision: https://reviews.llvm.org/D125278
More information about the All-commits
mailing list