iree-org / iree-org/iree

Create a `tensor.insert` canonicalization pattern for rank-0 tensors

Open
#11,611 5 comments 1 reaction 3 assignees Claimed by @meena-at-work View on GitHub
collab/nvidia integrations
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
4d 16h
Merged PRs (30d)
47

Description

A tensor.insert on a tensor with one element can be canonicalized to a `tensor.from_elements` pattern.
For global variables this may remove the need of a tensor load / the source tensor.

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.