Skip to content

Commit 31c0b87

Browse files
committed
Fix clang-ppc64le-rhel buildbot build error
ix buildbot build error due to commit 3733463: [IR][PGO] Add hot func attribute and use hot/cold attribute in func section
1 parent f6b577e commit 31c0b87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
943943
// Those attributes should be safe to propagate to the extracted function.
944944
case Attribute::AlwaysInline:
945945
case Attribute::Cold:
946+
case Attribute::Hot:
946947
case Attribute::NoRecurse:
947948
case Attribute::InlineHint:
948949
case Attribute::MinSize:

0 commit comments

Comments
 (0)