From 966645e6b440e596a390c22d6a809961c6b57a3a Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Fri, 13 Oct 2006 17:38:22 +0000 Subject: Move some warnings to debug mode. llvm-svn: 30933 --- llvm/lib/Analysis/DataStructure/Local.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp') diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp index c70970ac31d..dbfbea3981d 100644 --- a/llvm/lib/Analysis/DataStructure/Local.cpp +++ b/llvm/lib/Analysis/DataStructure/Local.cpp @@ -544,6 +544,9 @@ void GraphBuilder::visitCallSite(CallSite CS) { mergeWith(getValueDest(**(CS.arg_begin()))); return; case Intrinsic::vaend: + case Intrinsic::dbg_func_start: + case Intrinsic::dbg_region_end: + case Intrinsic::dbg_stoppoint: return; // noop case Intrinsic::memcpy_i32: case Intrinsic::memcpy_i64: @@ -1028,9 +1031,10 @@ void GraphBuilder::visitCallSite(CallSite CS) { Warn = true; break; } - if (Warn) - std::cerr << "WARNING: Call to unknown external function '" - << F->getName() << "' will cause pessimistic results!\n"; + if (Warn) { + DEBUG(std::cerr << "WARNING: Call to unknown external function '" + << F->getName() << "' will cause pessimistic results!\n"); + } } } -- cgit v1.2.3