aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCISelPattern.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-02 19:07:49 +0000
committerChris Lattner <sabre@nondot.org>2005-08-02 19:07:49 +0000
commit3f270130b575ca29d8039d6dc07b50fed4bc041e (patch)
treec1cff1000e397fe77298c1e22de3c82598937e56 /lib/Target/PowerPC/PPCISelPattern.cpp
parent15d89cba85e35823e546dc557cf8febc958561b1 (diff)
add a pass name to make debugging dumps nicer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelPattern.cpp')
-rw-r--r--lib/Target/PowerPC/PPCISelPattern.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelPattern.cpp b/lib/Target/PowerPC/PPCISelPattern.cpp
index c544e4d7fd..fa737e3416 100644
--- a/lib/Target/PowerPC/PPCISelPattern.cpp
+++ b/lib/Target/PowerPC/PPCISelPattern.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