[PATCH] D157269: [Clang][AArch64] Diagnostics for SME attributes when target doesn't have 'sme'
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 07:34:25 PDT 2023
sdesmalen updated this revision to Diff 547782.
sdesmalen marked 4 inline comments as done.
sdesmalen added a comment.
- Renamed `sme` to `'sme'` to make it clear that it relates to the target feature
- Split `function executed in streaming-SVE mode or using ZA state, requires sme` into:
- `function executed in streaming-SVE mode requires 'sme'`
- `function using ZA state requires 'sme'`
- Removed requirement for SVE being enabled for streaming-compatible functions
- Updated comment of `Sema::checkCall`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157269/new/
https://reviews.llvm.org/D157269
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/Sema/aarch64-sme-func-attrs-without-target-feature.cpp
llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157269.547782.patch
Type: text/x-patch
Size: 11180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/70854e45/attachment.bin>
More information about the llvm-commits
mailing list