Skip to content

Conversation

@MrSidims
Copy link
Contributor

The pass reorders alloca instructions in the function, placing them in the entry basic block. In case if the moved alloca is not accompanied by lifetime start/end intrinsics - they are inserted to guard lifetime of the allocated object.

Resolves #3389

The pass reorders alloca instructions in the function, placing them
in the entry basic block. In case if the moved alloca is not accompanied
by lifetime start/end intrinsics - they are inserted to guard lifetime of
the allocated object.

Resolves KhronosGroup#3389

Signed-off-by: Dmitry Sidorov <[email protected]>
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.

kernel calling alloca in non-top block fails validation

1 participant