Skip to content

Commit

Permalink
Fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
banach-space committed Aug 31, 2020
1 parent e164b8f commit f310281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/DuplicateBB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ PreservedAnalyses DuplicateBB::run(llvm::Function &F,
}

DuplicateBBCountStats = DuplicateBBCount;
return (Targets.empty() ? llvm::PreservedAnalyses::none()
: llvm::PreservedAnalyses::all());
return (Targets.empty() ? llvm::PreservedAnalyses::all()
: llvm::PreservedAnalyses::none());
}

bool LegacyDuplicateBB::runOnFunction(llvm::Function &F) {
Expand Down

0 comments on commit f310281

Please sign in to comment.