Deleted Added
full compact
Miscompilation.cpp (221337) Miscompilation.cpp (223013)
1//===- Miscompilation.cpp - Debug program miscompilations -----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 610 unchanged lines hidden (view full) ---

619 for (Module::iterator I = Prog->begin(), E = Prog->end(); I != E; ++I)
620 if (!I->isDeclaration())
621 MiscompiledFunctions.push_back(I);
622
623 // Do the reduction...
624 if (!BugpointIsInterrupted)
625 ReduceMiscompilingFunctions(BD, TestFn).reduceList(MiscompiledFunctions,
626 Error);
1//===- Miscompilation.cpp - Debug program miscompilations -----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 610 unchanged lines hidden (view full) ---

619 for (Module::iterator I = Prog->begin(), E = Prog->end(); I != E; ++I)
620 if (!I->isDeclaration())
621 MiscompiledFunctions.push_back(I);
622
623 // Do the reduction...
624 if (!BugpointIsInterrupted)
625 ReduceMiscompilingFunctions(BD, TestFn).reduceList(MiscompiledFunctions,
626 Error);
627 if (!Error.empty())
627 if (!Error.empty()) {
628 errs() << "\n***Cannot reduce functions: ";
628 return MiscompiledFunctions;
629 return MiscompiledFunctions;
629
630 }
630 outs() << "\n*** The following function"
631 << (MiscompiledFunctions.size() == 1 ? " is" : "s are")
632 << " being miscompiled: ";
633 PrintFunctionList(MiscompiledFunctions);
634 outs() << '\n';
635
636 // See if we can rip any loops out of the miscompiled functions and still
637 // trigger the problem.

--- 445 unchanged lines hidden ---
631 outs() << "\n*** The following function"
632 << (MiscompiledFunctions.size() == 1 ? " is" : "s are")
633 << " being miscompiled: ";
634 PrintFunctionList(MiscompiledFunctions);
635 outs() << '\n';
636
637 // See if we can rip any loops out of the miscompiled functions and still
638 // trigger the problem.

--- 445 unchanged lines hidden ---