Skip to content

Fixing the liveset computation in the epilogue code.#161

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

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

Conversation

@cdevadas
Copy link

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

Copy link

@arsenm arsenm left a comment

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants