[llvm] r306275 - [bugpoint] Do not initialize disassembler passes

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 23:50:50 PDT 2017


Author: grosser
Date: Sun Jun 25 23:50:50 2017
New Revision: 306275

URL: http://llvm.org/viewvc/llvm-project?rev=306275&view=rev
Log:
[bugpoint] Do not initialize disassembler passes

We added the initilization of disassembler passes in r306208 with the goal to
bring bugpoint in line with 'opt'. However, 'opt' does itself not initialize
dissassembler passes. As our goal was consistency, we drop the initialization
of dissassembler passes again from bugpoint.

Thanks to Chandler for pointing this out!

Modified:
    llvm/trunk/tools/bugpoint/bugpoint.cpp

Modified: llvm/trunk/tools/bugpoint/bugpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/bugpoint.cpp?rev=306275&r1=306274&r2=306275&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/bugpoint.cpp (original)
+++ llvm/trunk/tools/bugpoint/bugpoint.cpp Sun Jun 25 23:50:50 2017
@@ -144,7 +144,6 @@ int main(int argc, char **argv) {
     InitializeAllTargetMCs();
     InitializeAllAsmPrinters();
     InitializeAllAsmParsers();
-    InitializeAllDisassemblers();
   }
 
   cl::ParseCommandLineOptions(argc, argv,




More information about the llvm-commits mailing list