From 2d650ee03e0b0fb5ca4d779354ec04b1b9c51c83 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 5 Feb 2022 21:39:27 -0800 Subject: [PATCH] [Transforms] Use default member initialization in SCEVFindUnsafe (NFC) --- llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp b/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp index 5363a85..277431f 100644 --- a/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp +++ b/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp @@ -2710,10 +2710,10 @@ namespace { struct SCEVFindUnsafe { ScalarEvolution &SE; bool CanonicalMode; - bool IsUnsafe; + bool IsUnsafe = false; SCEVFindUnsafe(ScalarEvolution &SE, bool CanonicalMode) - : SE(SE), CanonicalMode(CanonicalMode), IsUnsafe(false) {} + : SE(SE), CanonicalMode(CanonicalMode) {} bool follow(const SCEV *S) { if (const SCEVUDivExpr *D = dyn_cast(S)) { -- 2.7.4