Skip to content

[DXIL generation] Merge GepUse last to avoid crash in EmitGetNodeRecordPtrAndUpdateUsers#6326

Merged
python3kgae merged 1 commit intomicrosoft:release-1.8.2403from
python3kgae:cherryMergeGEP
Feb 22, 2024
Merged

[DXIL generation] Merge GepUse last to avoid crash in EmitGetNodeRecordPtrAndUpdateUsers#6326
python3kgae merged 1 commit intomicrosoft:release-1.8.2403from
python3kgae:cherryMergeGEP

Conversation

@python3kgae
Copy link
Copy Markdown
Contributor

In EmitGetNodeRecordPtrAndUpdateUsers, the type will be mutated. And the GEP user of the RecordPtr will be merged at same time. This make things complex because the GEP index need to be updated since type is mutated.

To make things easier, merge the GepUse after mutate type.

Fixes #6223

(cherry picked from commit 823125b)

…rdPtrAndUpdateUsers (microsoft#6314)

In EmitGetNodeRecordPtrAndUpdateUsers, the type will be mutated. And the
GEP user of the RecordPtr will be merged at same time. This make things
complex because the GEP index need to be updated since type is mutated.

To make things easier, merge the GepUse after mutate type.

Fixes microsoft#6223

(cherry picked from commit 823125b)
@python3kgae python3kgae requested a review from a team as a code owner February 17, 2024 03:12
@python3kgae python3kgae merged commit 2c530ce into microsoft:release-1.8.2403 Feb 22, 2024
@python3kgae python3kgae deleted the cherryMergeGEP branch February 22, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants