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
This commit is contained in:
Chris Lattner 2005-08-02 19:07:49 +00:00
parent 15d89cba85
commit 3f270130b5

View 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