[all-commits] [llvm/llvm-project] 284f03: [Transforms] Merge function attributes within Inli...
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Sep 17 23:10:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 284f0397e2779d9de6613c81539367f9b35d460f
https://github.com/llvm/llvm-project/commit/284f0397e2779d9de6613c81539367f9b35d460f
Author: Kazu Hirata <kazu at google.com>
Date: 2022-09-17 (Sat, 17 Sep 2022)
Changed paths:
M llvm/include/llvm/Transforms/Utils/Cloning.h
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/SampleProfile.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
Log Message:
-----------
[Transforms] Merge function attributes within InlineFunction (NFC)
In the past, we've had a bug resulting in a compiler crash after
forgetting to merge function attributes (D105729).
This patch teaches InlineFunction to merge function attributes. This
way, we minimize the "time" when the IR is valid, but the function
attributes are not.
Differential Revision: https://reviews.llvm.org/D134117
More information about the All-commits
mailing list