[llvm] 3e19416 - [Attributor][FIX] Initialize variable
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 21:48:29 PDT 2023
Author: Johannes Doerfert
Date: 2023-08-18T21:47:57-07:00
New Revision: 3e19416e4e9ebfee0819bcdcb17124dd965e95aa
URL: https://github.com/llvm/llvm-project/commit/3e19416e4e9ebfee0819bcdcb17124dd965e95aa
DIFF: https://github.com/llvm/llvm-project/commit/3e19416e4e9ebfee0819bcdcb17124dd965e95aa.diff
LOG: [Attributor][FIX] Initialize variable
Added:
Modified:
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
index 07439ff39384c1..acca1eb9674698 100644
--- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -12077,7 +12077,7 @@ struct AAIndirectCallInfoCallSite : public AAIndirectCallInfo {
// Use simplification to find potential callees, if !callees was present,
// fallback to that set if necessary.
- bool UsedAssumedInformation;
+ bool UsedAssumedInformation = false;
SmallVector<AA::ValueAndContext> Values;
if (!A.getAssumedSimplifiedValues(IRPosition::value(*FP), this, Values,
AA::ValueScope::AnyScope,
More information about the llvm-commits
mailing list