From 38fe4ebcc4c2db1c336ee15801e282a980422539 Mon Sep 17 00:00:00 2001 From: Max Aehle Date: Thu, 4 Jan 2024 10:05:11 +0100 Subject: [PATCH] Fix printing bug #1599 --- enzyme/Enzyme/ActivityAnalysis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enzyme/Enzyme/ActivityAnalysis.cpp b/enzyme/Enzyme/ActivityAnalysis.cpp index 8ada308d4977..f14cf67ba82e 100644 --- a/enzyme/Enzyme/ActivityAnalysis.cpp +++ b/enzyme/Enzyme/ActivityAnalysis.cpp @@ -2192,7 +2192,7 @@ bool ActivityAnalyzer::isConstantValue(TypeResults const &TR, Value *Val) { else llvm::errs() << potentiallyActiveStore; llvm::errs() << " potentialStore="; - if (potentiallyActiveStore) + if (potentialStore) llvm::errs() << *potentialStore; else llvm::errs() << potentialStore;