summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Analysis/InlineCost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp
index 08c04d598ef..4f69d1f012c 100644
--- a/llvm/lib/Analysis/InlineCost.cpp
+++ b/llvm/lib/Analysis/InlineCost.cpp
@@ -585,7 +585,7 @@ bool CallAnalyzer::isKnownNonNullInCallee(Value *V) {
// Adjust the threshold based on callsite hotness. Currently this is a nop.
int CallAnalyzer::getAdjustedThreshold(int Threshold,
Optional<uint64_t> CallSiteCount
- __attribute__((unused))) {
+ LLVM_ATTRIBUTE_UNUSED) {
// FIXME: The new threshold should be computed from the given Threshold and
// the callsite hotness.
return Threshold;
OpenPOWER on IntegriCloud