From 6d56368cafb5e277842e22247eae8ecc563cb630 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 27 Feb 2008 03:04:06 +0000 Subject: Spiller now remove unused spill slots. llvm-svn: 47657 --- llvm/lib/CodeGen/MachineFunction.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/CodeGen/MachineFunction.cpp') diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 30896172883e..9bcf250aea8f 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -350,6 +350,10 @@ void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{ for (unsigned i = 0, e = Objects.size(); i != e; ++i) { const StackObject &SO = Objects[i]; OS << " : "; + if (SO.Size == ~0ULL) { + OS << "dead\n"; + continue; + } if (SO.Size == 0) OS << "variable sized"; else -- cgit v1.2.3