llvm / llvm/llvm-project

[mem2reg] llvm.structured.alloca support

Open
#212,875 0 comments 0 reactions 1 assignee Claimed by @bogner View on GitHub
llvm:transforms
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

We need handling of the `llvm.structured.alloca` intrinsic in mem2reg. I think that we can probably do this in the existing pass without too much disruption rather than needing a separate pass like we did with LSROA, but we could pivot in the other direction depending on the implementation details.

There is some further context in https://discourse.llvm.org/t/rfc-adding-logical-structured-alloca/90027 and https://github.com/llvm/llvm-project/pull/192058.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.