google / google/xls

Stop dropping trace! when converting to IR

Open
#501 0 comments 0 reactions 0 assignees View on GitHub
ir jit
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

Now that we have IR support for traces, `trace!` can use implicit tokens and convert to IR the way `trace_fmt!` does.

The details may change, but it's probably worth keeping two different tracing primitives because `trace!` includes metadata (like the source location) that `trace_fmt!` deliberately doesn't (so that users have full control of their formatted output).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.