[PATCH] D22845: Rework CFG simplification in bugpoint

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 14:58:11 PDT 2016


majnemer accepted this revision.
majnemer added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: tools/bugpoint/CrashDebugger.cpp:604-605
@@ +603,4 @@
+public:
+  ReduceSimplifyCFG(BugDriver &bd,
+                    bool (*testFn)(const BugDriver &, Module *))
+      : BD(bd), TestFn(testFn), TTI(bd.getProgram()->getDataLayout())
----------------
I'd use `BD` and `TestFn` here, the lookup rules inside the initializers will find the right one.


https://reviews.llvm.org/D22845





More information about the llvm-commits mailing list