iree-org / iree-llvm-sandbox

A sandbox for quick iteration and experimentation on projects related to IREE, MLIR, and LLVM
Apache License 2.0
54 stars 31 forks source link

[Indexing] Add `ARangeOp` #715

Closed makslevental closed 1 year ago

makslevental commented 1 year ago

This PR adds an indexing.arange op that supports literals for start, stop, step and runtime values. As well, a canonicalizer is provided that converts the former to the lateral if the runtime values are all arith.constants.

makslevental commented 1 year ago

Ping? Anything else here? @ingomueller-net @nicolasvasilache

makslevental commented 1 year ago

@nicolasvasilache @ingomueller-net this is now feature complete with all of the sugar and spice. Would like to merge soon.

makslevental commented 1 year ago

Merging to move on to the next step.