diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2025-05-06 09:36:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 09:36:26 +0100 |
commit | cadf652857cf996cc591e7a4afd0bc2e62781b16 (patch) | |
tree | ddf85bcc98723a8f0c7d07c5988857b27e34f357 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 015093d628d9461be1f7f5707c47f8ae7e8eb742 (diff) | |
download | llvm-cadf652857cf996cc591e7a4afd0bc2e62781b16.zip llvm-cadf652857cf996cc591e7a4afd0bc2e62781b16.tar.gz llvm-cadf652857cf996cc591e7a4afd0bc2e62781b16.tar.bz2 |
[AArch64][SME] Split SMECallAttrs out of SMEAttrs (#137239)
SMECallAttrs is a new helper class that holds all the SMEAttrs for a
call. The interfaces to query actions needed for the call (e.g. change
streaming mode) have been moved to the SMECallAttrs class.
The main motivation for this change is to make the split between the
caller, callee, and callsite attributes more apparent.
Before this change, we would always merge callsite and callee
attributes. The main reason to do this was to handle indirect calls,
however, we also occasionally used callsite attributes on direct calls
in tests (mainly to avoid creating multiple function declarations). With
this patch, we now explicitly handle indirect calls and disallow
incompatible attributes on direct calls (so this patch is not entirely
an NFC).
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions