Index: llvm/trunk/lib/Analysis/IPA/CallGraphSCCPass.cpp =================================================================== --- llvm/trunk/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ llvm/trunk/lib/Analysis/IPA/CallGraphSCCPass.cpp @@ -606,7 +606,7 @@ if ((*I)->getFunction()) (*I)->getFunction()->print(Out); else - Out << "Printing Function"; + Out << "\nPrinting Function\n"; } return false; } Index: llvm/trunk/test/Transforms/Inline/null-function.ll =================================================================== --- llvm/trunk/test/Transforms/Inline/null-function.ll +++ llvm/trunk/test/Transforms/Inline/null-function.ll @@ -0,0 +1,9 @@ +; RUN: opt -print-before=always-inline -always-inline < %s -o /dev/null 2>&1 | FileCheck %s + +define i32 @main() #0 { +entry: + ret i32 0 +} + +; CHECK: *** IR Dump Before Inliner for always_inline functions *** +; CHECK: Printing Function