Commit c5a4c1b4 authored by Adéla Štěpková's avatar Adéla Štěpková
Browse files

allow simplifyCFG in custom preprocessing

parent 996854c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ void PassDriver::preprocessForCustomOpt()

    MPM.addPass(InternalizePass(preserveMain));
    MPM.addPass(GlobalDCEPass());
    // FPM.addPass(SimplifyCFGPass());
    FPM.addPass(SimplifyCFGPass());
    FPM.addPass(FixIrreduciblePass());

    MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));