[llvm] [IR] Add `dead_on_return` attribute (PR #143271)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 04:09:09 PDT 2025
================
@@ -1741,6 +1741,20 @@ Currently, only the following parameter attributes are defined:
This attribute cannot be applied to return values.
+``dead_on_return``
----------------
antoniofrighetto wrote:
Tried to improve the wording, hope it aligns more now. PR description updated, too (I got slightly threw off by the extra temporary allocation done in the callee in the unoptimized IR when targeting AArch64).
https://github.com/llvm/llvm-project/pull/143271
More information about the llvm-commits
mailing list