diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-09-23 23:47:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-24 06:47:30 +0000 |
| commit | 9c2024a7509baae921083d49a56e1321c51f00ec (patch) | |
| tree | 1f66721d16ee032893418b8ef4f7e23a1714c034 /.github | |
| parent | 979e16a34ef9ff2806476b809e2dcba5a96c40d4 (diff) | |
Remove unnecessary Load and Store pair (#8433)
This commit removes unnecessary Load and Store pairs in IR.
When the IR is like
```
let %1 = var
let %2 = load(%ptr)
store(%1 %2)
```
This PR will replace all uses of %1 with %ptr.
And the load and store instructions will be removed.
But I found that there can be cases where %2 might be still used later
in other IRs.
For these cases, the removal of load instruction relies on DCE.
---------
Co-authored-by: slangbot <ellieh+slangbot@nvidia.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
