add a pass name to make debugging dumps nicer
authorChris Lattner <sabre@nondot.org>
Tue, 2 Aug 2005 19:07:49 +0000 (19:07 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Aug 2005 19:07:49 +0000 (19:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22588 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelPattern.cpp

index c544e4d7fd01e71973c6f3776c4eb4d9370062a7..fa737e3416890f114a95e8a69e0a5236f601e617 100644 (file)
@@ -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