[all-commits] [llvm/llvm-project] 76ce46: [AArch64] Dont inline streaming fn into non-stream...
Sander de Smalen via All-commits
all-commits at lists.llvm.org
Fri Aug 1 01:05:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76ce4640735e1f1812c7763addadc5e98691d38a
https://github.com/llvm/llvm-project/commit/76ce4640735e1f1812c7763addadc5e98691d38a
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2025-08-01 (Fri, 01 Aug 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Transforms/Inline/AArch64/sme-pstatesm-attrs-low-threshold.ll
M llvm/test/Transforms/Inline/AArch64/sme-pstatesm-attrs.ll
Log Message:
-----------
[AArch64] Dont inline streaming fn into non-streaming caller (#150595)
Without this change, the following test would fail to compile
with `-march=armv8-a+sme`:
```
void func1(const svuint32_t *in, svuint32_t *out) {
[&]() __arm_streaming { *out = *in; }();
}
```
But in general, it's probably better never to inline
streaming functions into non-streaming functions, because
they will have been marked as 'streaming' for a reason
by the user.
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