[all-commits] [llvm/llvm-project] 304027: [ThinLTO] Support aliased GlobalIFunc
Schrodinger ZHU Yifan via All-commits
all-commits at lists.llvm.org
Wed Jul 20 15:30:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 304027206c883b61b76465b3c2a139927ea71344
https://github.com/llvm/llvm-project/commit/304027206c883b61b76465b3c2a139927ea71344
Author: Schrodinger ZHU Yifan <i at zhuyi.fan>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M llvm/include/llvm/IR/GlobalIFunc.h
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/Globals.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/lib/Transforms/Utils/FunctionImportUtils.cpp
A llvm/test/ThinLTO/X86/alias-ifunc.ll
Log Message:
-----------
[ThinLTO] Support aliased GlobalIFunc
Fixes https://github.com/llvm/llvm-project/issues/56290: when an ifunc is
aliased in LTO, clang will attempt to create an alias summary; however, as ifunc
is not included in the module summary, doing so will lead to crash.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D129009
More information about the All-commits
mailing list