Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Handle OpCopyMemory in mem2reg#772

Merged
eddyb merged 2 commits intomainfrom
mem2reg-opcopymemory
Oct 25, 2021
Merged

Handle OpCopyMemory in mem2reg#772
eddyb merged 2 commits intomainfrom
mem2reg-opcopymemory

Conversation

@khyperia
Copy link
Contributor

Oh hey, wasn't even intending to fix range-contains.rs, but here we are!

I believe this is a first step towards improving #739 (better for loop codegen), although certainly not perfect right now (this cleans up the remaining three OpVariables generated from that repro program, but a bunch of composites to be cleaned up by SROA remain)


Please review the .stderr changes closely to make sure they're valid, I'm incredibly tired and brain-mush right now and am not 100% sure it's correct, haha

@khyperia khyperia requested a review from eddyb as a code owner October 20, 2021 14:07
@eddyb eddyb merged commit 3f22a89 into main Oct 25, 2021
@eddyb eddyb deleted the mem2reg-opcopymemory branch October 25, 2021 08:01
@khyperia khyperia mentioned this pull request Oct 25, 2021
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