rsandifo-arm added a comment.

In D76694#1939863 <https://reviews.llvm.org/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 be bitcasts and conversion intrinsics for 
type changes that are supposed to be arithmetic operations.  The types are 
really just opaque blobs that hold the inputs to and outputs from intrinsics.

For length-specific mode, we eventually want to allow casts to and from 
equivalent "normal" fixed-length vector types.  Those conversions would also be 
implicit, so that fixed-length vectors of the right type and length can be used 
directly with intrinsics.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76694/new/

https://reviews.llvm.org/D76694



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to