ForNeVeR / ForNeVeR/Cesium

Cesium leaves a lot of useless `conv.u` instructions everywhere

Open
#515 0 comments 0 reactions 0 assignees View on GitHub
area:compiler kind:feature status:help-wanted
Dominant language
C#
Stars
451
Forks
49
Avg merge
13h 59m
Merged PRs (30d)
6

Description

Take almost any code that works with arrays, for example, `CodeGenArrayTests.ArrayInitialization`, and you'll notice that Cesium leaves a useless `conv.u` instruction often. And none of those are actually needed, or at least I think they aren't.

I believe that Cesium should get a better stack model, and to only emit conversion instructions such as `conv.i` or `conv.u` when really required.

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.