Add a getPassName() method.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 7 Mar 2013 23:55:51 +0000 (23:55 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 7 Mar 2013 23:55:51 +0000 (23:55 +0000)
llvm-svn: 176669

llvm/lib/CodeGen/EarlyIfConversion.cpp

index fac207e..6c679b2 100644 (file)
@@ -593,6 +593,7 @@ public:
   EarlyIfConverter() : MachineFunctionPass(ID) {}
   void getAnalysisUsage(AnalysisUsage &AU) const;
   bool runOnMachineFunction(MachineFunction &MF);
+  const char *getPassName() const { return "Early If-Conversion"; }
 
 private:
   bool tryConvertIf(MachineBasicBlock*);