[llvm] 1952945 - [Attributor][NFC] Reduce output verbosity
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 17:44:54 PDT 2023
Author: Johannes Doerfert
Date: 2023-03-20T17:44:23-07:00
New Revision: 19529458c4e7210297428152e4e311f71e00ff07
URL: https://github.com/llvm/llvm-project/commit/19529458c4e7210297428152e4e311f71e00ff07
DIFF: https://github.com/llvm/llvm-project/commit/19529458c4e7210297428152e4e311f71e00ff07.diff
LOG: [Attributor][NFC] Reduce output verbosity
Added:
Modified:
llvm/lib/Transforms/IPO/Attributor.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp
index 46b29009437c5..3e6ca6fb2ff19 100644
--- a/llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/llvm/lib/Transforms/IPO/Attributor.cpp
@@ -593,7 +593,7 @@ isPotentiallyReachable(Attributor &A, const Instruction &FromI,
const AbstractAttribute &QueryingAA,
const AA::InstExclusionSetTy *ExclusionSet,
std::function<bool(const Function &F)> GoBackwardsCB) {
- LLVM_DEBUG({
+ DEBUG_WITH_TYPE(VERBOSE_DEBUG_TYPE, {
dbgs() << "[AA] isPotentiallyReachable @" << ToFn.getName() << " from "
<< FromI << " [GBCB: " << bool(GoBackwardsCB) << "][#ExS: "
<< (ExclusionSet ? std::to_string(ExclusionSet->size()) : "none")
More information about the llvm-commits
mailing list