aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorAkshay Khadse <akshayskhadse@gmail.com>2023-04-20 10:03:36 +0800
committerAkshay Khadse <akshayskhadse@gmail.com>2023-04-20 11:18:34 +0800
commit43b38696aa038a83b12850aab25377650e301cde (patch)
tree0b0f5daa7075cff0d4f75498fb4702137fa701e6 /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent33e2e713c6bf653278206fe268f2f05619057a29 (diff)
downloadllvm-43b38696aa038a83b12850aab25377650e301cde.zip
llvm-43b38696aa038a83b12850aab25377650e301cde.tar.gz
llvm-43b38696aa038a83b12850aab25377650e301cde.tar.bz2
Fix uninitialized class members
Reviewed By: LuoYuanke Differential Revision: https://reviews.llvm.org/D148692
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBlockPlacement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
index e652105..eec6022 100644
--- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -411,7 +411,7 @@ class MachineBlockPlacement : public MachineFunctionPass {
/// True: use block profile count to compute tail duplication cost.
/// False: use block frequency to compute tail duplication cost.
- bool UseProfileCount;
+ bool UseProfileCount = false;
/// Allocator and owner of BlockChain structures.
///