Add clz/ctz as IR ops
Open
codegen
ir
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
Right now we desugar them to one-hot-then-encode, but that composition can be a bit awkward to reason about, and we can potentially map it down in codegen to more effective primitives than in its decomposed form, so some potential benefits to keeping the higher level op in tact instead of desugaring.
Contributor guide
Assessment
This issue has not been assessed yet.