Skip to content

Conversation

@andreaslyn
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings October 31, 2025 23:48
@andreaslyn andreaslyn requested a review from Baltoli as a code owner October 31, 2025 23:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an AVX register reservation to prevent a potential use-after-spill bug in the mov_stack_elem_to_mem_be function.

  • Adds AvxRegReserv reservation for stack element e before allocating a temporary AVX register

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}
}
else {
AvxRegReserv const e_reserv{e};
Copy link
Contributor

Choose a reason for hiding this comment

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

I think bswap_to_ymm supports the case where src == dst so we may want to allow alloc_avx_reg to reuse the AVX register assigned to e?

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.

3 participants