[llvm] r370976 - [Attributor][Stats] Use the right statistics macro
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 13:34:58 PDT 2019
Author: jdoerfert
Date: Wed Sep 4 13:34:57 2019
New Revision: 370976
URL: http://llvm.org/viewvc/llvm-project?rev=370976&view=rev
Log:
[Attributor][Stats] Use the right statistics macro
Modified:
llvm/trunk/lib/Transforms/IPO/Attributor.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Attributor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Attributor.cpp?rev=370976&r1=370975&r2=370976&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Wed Sep 4 13:34:57 2019
@@ -1716,7 +1716,7 @@ struct AANoAliasCallSiteArgument final :
}
/// 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 :
}
/// See AbstractAttribute::trackStatistics()
- void trackStatistics() const override { STATS_DECLTRACK_CS_ATTR(noalias); }
+ void trackStatistics() const override { STATS_DECLTRACK_CSRET_ATTR(noalias); }
};
/// -------------------AAIsDead Function Attribute-----------------------
More information about the llvm-commits
mailing list