This revision was automatically updated to reflect the committed changes.
Closed by commit rGfeed5a7239d8: [Sema][AArch64] Support arm_sve_vector_bits
attribute (authored by c-rhodes).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85736/new/
https:/
c-rhodes marked 7 inline comments as done.
c-rhodes added a comment.
@rsandifo-arm @aaron.ballman thanks for reviewing!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85736/new/
https://reviews.llvm.org/D85736
___
cfe-commits mailing list
cfe-
c-rhodes updated this revision to Diff 288250.
c-rhodes added a comment.
Address comments
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85736/new/
https://reviews.llvm.org/D85736
Files:
clang/include/clang/AST/ASTContext.h
clang/include/clang/AST/Type.h
clang/include/clang/Basic/
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from some minor nits.
Comment at: clang/include/clang/AST/Type.h:3228
+SveFixedLengthDataVector,
+/// is AArch64 SVE fixed-length predicate v
c-rhodes added a comment.
ping
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85736/new/
https://reviews.llvm.org/D85736
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rsandifo-arm added a comment.
LGTM from a spec point of view, but I don't think I should be the one to
approve.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85736/new/
https://reviews.llvm.org/D85736
___
cfe-commits mailing list
cfe-commits
c-rhodes marked 4 inline comments as done.
c-rhodes added inline comments.
Comment at: clang/lib/AST/ASTContext.cpp:1941
+// Adjust the alignment for fixed-length SVE predicates.
+if (VT->getVectorKind() == VectorType::SveFixedLengthPredicateVector)
+ Align = 16;
---
c-rhodes updated this revision to Diff 285285.
c-rhodes marked an inline comment as not done.
c-rhodes added a comment.
Address @rsandifo-arm comments.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85736/new/
https://reviews.llvm.org/D85736
Files:
clang/include/clang/AST/ASTContext.h
rsandifo-arm added inline comments.
Comment at: clang/include/clang/AST/Type.h:1897
+ /// 'arm_sve_vector_bits' type attribute as VectorType.
+ QualType getFixedLengthSveEltType(const ASTContext &Ctx) const;
+
It feels to me like the information is more general
c-rhodes updated this revision to Diff 285124.
c-rhodes added a comment.
Added missing implicit conversions for C++. I considered handling this with the
existing implicit vector conversion although one side of the conversion will be
an SVE builtin, so instead I've added a new conversion specifical
c-rhodes created this revision.
c-rhodes added reviewers: efriedma, sdesmalen, rsandifo-arm, aaron.ballman,
paulwalker-arm.
Herald added subscribers: danielkiss, kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
Herald added a project: clang.
c-rhodes requested review of this revision.
11 matches
Mail list logo