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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176669 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/EarlyIfConversion.cpp

index fac207e3b30447d7d39b5bb4b2813b8ce25d72b2..6c679b222829190f22f561015ab480f1a0301a70 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*);