[PATCH] D19782: [IPO/GlobalDCE] Convert the pass to use static functions.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 11:23:55 PDT 2016


joker.eph added inline comments.

================
Comment at: include/llvm/Transforms/IPO/GlobalDCE.h:31
@@ +30,3 @@
+  static StringRef name() { return "GlobalDCEPass"; }
+  GlobalDCEPass() {}
+  PreservedAnalyses run(Module &M);
----------------
why?


http://reviews.llvm.org/D19782





More information about the llvm-commits mailing list