Skip to content

Fix recursive usage of emitCond() - #55

Closed
alexmalyshev wants to merge 1 commit into
facebookincubator:mainfrom
alexmalyshev:fix-cond
Closed

Fix recursive usage of emitCond()#55
alexmalyshev wants to merge 1 commit into
facebookincubator:mainfrom
alexmalyshev:fix-cond

Conversation

@alexmalyshev

Copy link
Copy Markdown
Contributor

When the do_bb1() or do_bb2() functions called by emitCond() themselves call emitCond(), the outer conditional will grab the wrong blocks for its resulting Phi. It'll use the first block of their inner CFGs instead of the last one.

When the do_bb1() or do_bb2() functions called by emitCond() themselves call
emitCond(), the outer conditional will grab the wrong blocks for its resulting
Phi.  It'll use the first block of their inner CFGs instead of the last one.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 6, 2026
@meta-codesync

meta-codesync Bot commented May 6, 2026

Copy link
Copy Markdown

@alexmalyshev has imported this pull request. If you are a Meta employee, you can view this in D104095042.

@meta-codesync

meta-codesync Bot commented May 6, 2026

Copy link
Copy Markdown

@alexmalyshev merged this pull request in 462f630.

@alexmalyshev
alexmalyshev deleted the fix-cond branch May 7, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant