From 3a81e0795b2a45db16ae8da4eff85b942cb456c6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 2 Aug 2005 19:07:49 +0000 Subject: [PATCH] add a pass name to make debugging dumps nicer llvm-svn: 22588 --- lib/Target/PowerPC/PPC32ISelPattern.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Target/PowerPC/PPC32ISelPattern.cpp b/lib/Target/PowerPC/PPC32ISelPattern.cpp index c544e4d7fd0..fa737e34168 100644 --- a/lib/Target/PowerPC/PPC32ISelPattern.cpp +++ b/lib/Target/PowerPC/PPC32ISelPattern.cpp @@ -571,6 +571,10 @@ public: unsigned SelectAddr(SDOperand N, unsigned& Reg, int& offset); void SelectBranchCC(SDOperand N); + + virtual const char *getPassName() const { + return "PowerPC Pattern Instruction Selection"; + } }; /// ExactLog2 - This function solves for (Val == 1 << (N-1)) and returns N. It