Skip to content

Commit

Permalink
Fix TBAA warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Aug 5, 2024
1 parent 4b20c48 commit 9167020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<StoreInst>(&I)) {
auto StoreSize =
Expand Down

0 comments on commit 9167020

Please sign in to comment.