add a pass name to make debugging dumps nicer

llvm-svn: 22588
This commit is contained in:
Chris Lattner 2005-08-02 19:07:49 +00:00
parent eb3ceda067
commit 3a81e0795b

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