Skip to content

Commit 56e9b60

Browse files
author
Johannes Doerfert
committed
[Attributor][Stats] Use the right statistics macro
llvm-svn: 370976
1 parent 7ab5253 commit 56e9b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/IPO/Attributor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ struct AANoAliasCallSiteArgument final : AANoAliasImpl {
17161716
}
17171717

17181718
/// See AbstractAttribute::trackStatistics()
1719-
void trackStatistics() const override { STATS_DECLTRACK_ARG_ATTR(noalias) }
1719+
void trackStatistics() const override { STATS_DECLTRACK_CSARG_ATTR(noalias) }
17201720
};
17211721

17221722
/// NoAlias attribute for function return value.
@@ -1782,7 +1782,7 @@ struct AANoAliasCallSiteReturned final : AANoAliasImpl {
17821782
}
17831783

17841784
/// See AbstractAttribute::trackStatistics()
1785-
void trackStatistics() const override { STATS_DECLTRACK_CS_ATTR(noalias); }
1785+
void trackStatistics() const override { STATS_DECLTRACK_CSRET_ATTR(noalias); }
17861786
};
17871787

17881788
/// -------------------AAIsDead Function Attribute-----------------------

0 commit comments

Comments
 (0)