Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-02 | qbe: Remove more unnecessary copy instructions | Michael Forney | |
Now that we don't track QBE types within values, we don't have to worry about generating incorrect SSA when passing an 'l' value to a function taking a 'w'. So we can just return the source value instead of emitting a dummy copy instruction. | |||
2021-07-01 | qbe: Remove unnecessary distinction between loaduw and loadsw | Michael Forney | |
We always store the result to a w temporary, so there is no difference. In fact, QBE provides loadw as an alias for loadsw precisely for this reason. | |||
2019-04-27 | Sign-extend result of bit-field assignments | Michael Forney | |
Fixes #51. Thanks to Andrew Chambers for the bug report and test case. |