[all-commits] [llvm/llvm-project] 74b274: [Inliner] Don't propagate access attr to byval pa...
goldsteinn via All-commits
all-commits at lists.llvm.org
Tue Oct 29 01:49:54 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 74b2743bd5b89c8184c1b3c1dd7ba49f41a5ba3f
https://github.com/llvm/llvm-project/commit/74b2743bd5b89c8184c1b3c1dd7ba49f41a5ba3f
Author: goldsteinn <35538541+goldsteinn at users.noreply.github.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/access-attributes-prop.ll
Log Message:
-----------
[Inliner] Don't propagate access attr to byval params (#112256)
- **[Inliner] Add tests for bad propagationg of access attr for `byval`
param; NFC**
- **[Inliner] Don't propagate access attr to `byval` params**
We previously only handled the case where the `byval` attr was in the
callbase's param attr list. This PR also handles the case if the
`ByVal` was a param attr on the function's param attr list.
(cherry picked from commit 3c777f04f065dda5f0c80eaaef2a7f623ccc20ed)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list