[PATCH] D76694: [Sema][SVE] Allow casting SVE types to themselves in C

2020-03-25 Thread Richard Sandiford via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG856bdd01fd65: [Sema][SVE] Allow casting SVE types to themselves in C (authored by rsandifo-arm). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76694/new/

[PATCH] D76694: [Sema][SVE] Allow casting SVE types to themselves in C

2020-03-24 Thread Eli Friedman via Phabricator via cfe-commits
efriedma accepted this revision. efriedma added a comment. This revision is now accepted and ready to land. Okay, then LGTM. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76694/new/ https://reviews.llvm.org/D76694

[PATCH] D76694: [Sema][SVE] Allow casting SVE types to themselves in C

2020-03-24 Thread Richard Sandiford via Phabricator via cfe-commits
rsandifo-arm added a comment. In D76694#1939863 , @efriedma wrote: > Is it not legal to cast an SVE type to any type other than itself? Not in normal length-agnostic mode. Instead we provide reinterpret intrinsics for type changes that are supposed to

[PATCH] D76694: [Sema][SVE] Allow casting SVE types to themselves in C

2020-03-24 Thread Eli Friedman via Phabricator via cfe-commits
efriedma added a comment. Is it not legal to cast an SVE type to any type other than itself? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76694/new/ https://reviews.llvm.org/D76694 ___ cfe-commits

[PATCH] D76694: [Sema][SVE] Allow casting SVE types to themselves in C

2020-03-24 Thread Richard Sandiford via Phabricator via cfe-commits
rsandifo-arm created this revision. rsandifo-arm added reviewers: sdesmalen, efriedma, rovka, rjmccall. Herald added subscribers: cfe-commits, psnobl, rkruppe, tschuett. Herald added a reviewer: rengolin. Herald added a project: clang. Casts from an SVE type to itself aren't very useful, but they