Skip to content

Commit cdeeb4a

Browse files
fixup! [llvm][AArch64] Autoupgrade function attributes from Module attributes. (#80640)
1 parent b3cfff5 commit cdeeb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Linker/IRMover.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ Error IRLinker::run() {
16091609
// Convert module level attributes to function level attributes because
16101610
// after merging modules the attributes might change and would have different
16111611
// effect on the functions as the original module would have.
1612-
CopyModuleAttributesToFunction(*SrcM);
1612+
CopyModuleAttrToFunctions(*SrcM);
16131613

16141614
std::reverse(Worklist.begin(), Worklist.end());
16151615
while (!Worklist.empty()) {

0 commit comments

Comments
 (0)