Give MachineFunctionAnalysis a getPassName() implementation to make timing reports prettier.

llvm-svn: 122816
This commit is contained in:
Owen Anderson 2011-01-04 18:21:18 +00:00
parent 8df51d24bd
commit 8bc93c6fdf

View File

@ -37,6 +37,10 @@ public:
MachineFunction &getMF() const { return *MF; }
CodeGenOpt::Level getOptLevel() const { return OptLevel; }
virtual const char* getPassName() const {
return "Machine Function Analysis";
}
private:
virtual bool doInitialization(Module &M);