From 250999543c8c12eaa9ba5eb58900a5e0f09ae12b Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Wed, 4 Sep 2019 20:34:57 +0000 Subject: [PATCH] [Attributor][Stats] Use the right statistics macro git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370976 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/Attributor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/IPO/Attributor.cpp b/lib/Transforms/IPO/Attributor.cpp index 672968f8302..cdd7958c371 100644 --- a/lib/Transforms/IPO/Attributor.cpp +++ b/lib/Transforms/IPO/Attributor.cpp @@ -1716,7 +1716,7 @@ struct AANoAliasCallSiteArgument final : AANoAliasImpl { } /// See AbstractAttribute::trackStatistics() - void trackStatistics() const override { STATS_DECLTRACK_ARG_ATTR(noalias) } + void trackStatistics() const override { STATS_DECLTRACK_CSARG_ATTR(noalias) } }; /// NoAlias attribute for function return value. @@ -1782,7 +1782,7 @@ struct AANoAliasCallSiteReturned final : AANoAliasImpl { } /// See AbstractAttribute::trackStatistics() - void trackStatistics() const override { STATS_DECLTRACK_CS_ATTR(noalias); } + void trackStatistics() const override { STATS_DECLTRACK_CSRET_ATTR(noalias); } }; /// -------------------AAIsDead Function Attribute----------------------- -- 2.40.0