Skip to content

Conversation

jpienaar
Copy link
Member

@jpienaar jpienaar commented Jul 8, 2025

The LLHD inliner doesn't check if the parent op only supports single block regions when inlining a call (while the function body of the call may already be multiblock). This flips the lowering to CF to before LLHD inline to avoid a common variant of this (inlining into SCF ops).

The LLHD inliner doesn't check if the parent op only supports single
block regions when inlining a call (while the function body of the call
may already be multiblock). This flips the lowering to CF to before LLHD
inline to avoid a common variant of this (inlining into SCF ops).
@jpienaar jpienaar requested a review from fabianschuiki July 8, 2025 14:45
Copy link
Contributor

@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this 😃

@jpienaar jpienaar merged commit 2a5764e into llvm:main Jul 8, 2025
7 checks passed
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.

2 participants