summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC32ISelPattern.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
commitc98d48fabe739bf759c5b344b08c77f278261c39 (patch)
tree0a95b90b87530d92cdf965086219444d0568cf2c /llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
parentc9076e0acfb1f240d658f37ce8ab6f7845de9766 (diff)
downloadbcm5719-llvm-c98d48fabe739bf759c5b344b08c77f278261c39.tar.gz
bcm5719-llvm-c98d48fabe739bf759c5b344b08c77f278261c39.zip
add a pass name to make debugging dumps nicer
llvm-svn: 22588
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp b/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
index c544e4d7fd0..fa737e34168 100644
--- a/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud