Skip to content

Conversation

@nikic
Copy link
Contributor

@nikic nikic commented Aug 1, 2025

The lifetime argument is now required to be an alloca, so we should not try to replace it with a constant.

We also shouldn't try to change the size argument to zero/one, similar to how we avoid zero-size allocas.

The lifetime argument is now required to be an alloca, so we should
not try to replace it with a constant.

We also shouldn't try to change the size argument to zero/one,
similar to how we avoid zero-size allocas.
@nikic nikic merged commit 5499901 into llvm:main Aug 4, 2025
11 checks passed
@nikic nikic deleted the llvm-reduce-zero branch August 4, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants