diff options
author | Akshay Khadse <akshayskhadse@gmail.com> | 2023-04-20 10:03:36 +0800 |
---|---|---|
committer | Akshay Khadse <akshayskhadse@gmail.com> | 2023-04-20 11:18:34 +0800 |
commit | 43b38696aa038a83b12850aab25377650e301cde (patch) | |
tree | 0b0f5daa7075cff0d4f75498fb4702137fa701e6 /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 33e2e713c6bf653278206fe268f2f05619057a29 (diff) | |
download | llvm-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/MachineCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineCombiner.cpp b/llvm/lib/CodeGen/MachineCombiner.cpp index eb98ccd..bb4d131 100644 --- a/llvm/lib/CodeGen/MachineCombiner.cpp +++ b/llvm/lib/CodeGen/MachineCombiner.cpp @@ -78,7 +78,7 @@ class MachineCombiner : public MachineFunctionPass { TargetSchedModel TSchedModel; /// True if optimizing for code size. - bool OptSize; + bool OptSize = false; public: static char ID; |