Skip to content

Commit

Permalink
Add LLVM_DUMP_METHOD so that this method does not get stripped for de…
Browse files Browse the repository at this point in the history
…bug builds

Co-authored-by: Tim Gymnich <tgymnich@icloud.com>
  • Loading branch information
pengmai and tgymnich committed Mar 7, 2024
1 parent 81b5279 commit 302bc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/MLIR/Analysis/Lattice.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ template <typename ValueT> class SetLattice {
return state == other.state && llvm::equal(elements, other.elements);
}

void print(llvm::raw_ostream &os) const {
LLVM_DUMP_METHOD void print(llvm::raw_ostream &os) const {
if (isUnknown()) {
os << "<unknown>";
} else if (isUndefined()) {
Expand Down

0 comments on commit 302bc40

Please sign in to comment.