summaryrefslogtreecommitdiff
path: root/tools/bugpoint/Miscompilation.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-11 19:59:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-11 19:59:25 +0000
commit2803b4cc581af06bf99af5ddc3353836c63d1562 (patch)
treea1714554dd77794566fbd5825a7c7dd7f1512c56 /tools/bugpoint/Miscompilation.cpp
parenta94a203f346e65d40c4c3fe478c5d8d7a2ff5df6 (diff)
downloadllvm-2803b4cc581af06bf99af5ddc3353836c63d1562.tar.gz
llvm-2803b4cc581af06bf99af5ddc3353836c63d1562.tar.bz2
llvm-2803b4cc581af06bf99af5ddc3353836c63d1562.tar.xz
Minor style fixes from review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
-rw-r--r--tools/bugpoint/Miscompilation.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index 116e3a5371..c5eaa0769a 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -518,9 +518,8 @@ DebugAMiscompilation(BugDriver &BD,
// See if we can rip any loops out of the miscompiled functions and still
// trigger the problem.
- if (!DisableLoopExtraction)
- if (!BugpointIsInterrupted &&
- ExtractLoops(BD, TestFn, MiscompiledFunctions)) {
+ if (!BugpointIsInterrupted && !DisableLoopExtraction &&
+ ExtractLoops(BD, TestFn, MiscompiledFunctions)) {
// Okay, we extracted some loops and the problem still appears. See if we
// can eliminate some of the created functions from being candidates.