diff options
author | Amir Ayupov <aaupov@fb.com> | 2022-01-31 22:07:46 -0800 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2022-02-04 15:57:33 -0800 |
commit | 194b164eb51eb8ada545f35b485887295a3e3541 (patch) | |
tree | 08b81aeecea0480b40fbd8d264d0e7d590b03533 /bolt/lib/Rewrite/BinaryPassManager.cpp | |
parent | 296e03fc641870c334123e48f7050e54e4eadde9 (diff) | |
download | llvm-194b164eb51eb8ada545f35b485887295a3e3541.zip llvm-194b164eb51eb8ada545f35b485887295a3e3541.tar.gz llvm-194b164eb51eb8ada545f35b485887295a3e3541.tar.bz2 |
[BOLT][NFC] Fix compiler warnings
Summary:
- variable 'TotalSize' set but not used
- variable 'TotalCallsTopN' set but not used
- use of bitwise '|' with boolean operands
Reviewed By: maksfb
FBD33911129
Diffstat (limited to 'bolt/lib/Rewrite/BinaryPassManager.cpp')
-rw-r--r-- | bolt/lib/Rewrite/BinaryPassManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/lib/Rewrite/BinaryPassManager.cpp b/bolt/lib/Rewrite/BinaryPassManager.cpp index 69c4664..199ed5f 100644 --- a/bolt/lib/Rewrite/BinaryPassManager.cpp +++ b/bolt/lib/Rewrite/BinaryPassManager.cpp @@ -408,7 +408,7 @@ void BinaryFunctionPassManager::runAllPasses(BinaryContext &BC) { Manager.registerPass( std::make_unique<DynoStatsPrintPass>( InitialDynoStats, "after all optimizations before SCTC and FOP"), - opts::PrintDynoStats | opts::DynoStatsAll); + opts::PrintDynoStats || opts::DynoStatsAll); // Add the StokeInfo pass, which extract functions for stoke optimization and // get the liveness information for them |