[all-commits] [llvm/llvm-project] ae778a: [Inliner] Propagate more attributes to params when...
goldsteinn via All-commits
all-commits at lists.llvm.org
Wed Oct 16 09:53:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae778ae7ce72219270c30d5c8b3d88c9a4803f81
https://github.com/llvm/llvm-project/commit/ae778ae7ce72219270c30d5c8b3d88c9a4803f81
Author: goldsteinn <35538541+goldsteinn at users.noreply.github.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M clang/test/CodeGen/attr-counted-by-pr88931.cpp
M clang/test/OpenMP/bug57757.cpp
M llvm/include/llvm/IR/Attributes.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/access-attributes-prop.ll
M llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll
M llvm/test/Transforms/Inline/byval.ll
M llvm/test/Transforms/PhaseOrdering/pr95152.ll
Log Message:
-----------
[Inliner] Propagate more attributes to params when inlining (#91101)
- **[Inliner] Add tests for propagating more parameter attributes; NFC**
- **[Inliner] Propagate more attributes to params when inlining**
Add support for propagating:
- `derefereancable`
- `derefereancable_or_null`
- `align`
- `nonnull`
- `range`
These are only propagated if the parameter to the to-be-inlined callsite
match the exact parameter used in the to-be-inlined function.
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