Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Fixing the liveset computation in the epilogue code.#161

Draft
cdevadas wants to merge 1 commit into
ROCm:amd-commonfrom
cdevadas:epilogue-code-fix
Draft

Fixing the liveset computation in the epilogue code.#161
cdevadas wants to merge 1 commit into
ROCm:amd-commonfrom
cdevadas:epilogue-code-fix

Conversation

@cdevadas

Copy link
Copy Markdown

Added LiveOut sets to LiveRegs.
Iterated over the instructions in the reverse direction until the insertion point to mark the live registers.

@arsenm arsenm left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use LiveRegs.stepBackward instead of manually checking the instruction operands. This is also incorrect since it doesn't check use/def

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants