Issue 54212
Summary Phi nodes missing predecessor entries when outlined code does not contain branch
Labels new issue
Assignees
Reporter AndrewLitteken
    Reproduced: https://godbolt.org/z/roznP99P3

When outlining a phi node, if the the incoming branch is the parent block and the branch from that block is not outlined, we create broken code.  The fix is to recognize when that branch is not contained, and ignore the region.

Patch coming soon.

cc @ornata 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to