From 91670206f246704b4feb4bbf7e6eb404adbef907 Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Mon, 5 Aug 2024 14:11:57 -0400 Subject: [PATCH] Fix TBAA warning --- enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp b/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp index bf481c13b93..d8d2f1e427a 100644 --- a/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp +++ b/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp @@ -1422,8 +1422,8 @@ void TypeAnalyzer::considerTBAA() { } else if (call->getType()->isPointerTy()) { updateAnalysis(call, vdptr.Only(-1, call), call); } else { - llvm::errs() << " inst: " << I << " vdptr: " << vdptr.str() << "\n"; - assert(0 && "unknown tbaa call instruction user"); + llvm::errs() << " unknown tbaa call instruction user inst: " << I + << " vdptr: " << vdptr.str() << "\n"; } } else if (auto SI = dyn_cast(&I)) { auto StoreSize =