[all-commits] [llvm/llvm-project] 1e2da3: [AArch64][SVE] Allow C-style casts between fixed-s...

Joe Ellis via All-commits all-commits at lists.llvm.org
Thu Nov 19 03:19:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e2da3839cc3543629ecb847fd3aa34edb64b42a
      https://github.com/llvm/llvm-project/commit/1e2da3839cc3543629ecb847fd3aa34edb64b42a
  Author: Joe Ellis <joe.ellis at arm.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/Sema/aarch64-sve-explicit-casts-fixed-size.c
    A clang/test/SemaCXX/aarch64-sve-explicit-casts-fixed-size.cpp

  Log Message:
  -----------
  [AArch64][SVE] Allow C-style casts between fixed-size and scalable vectors

This patch allows C-style casting between fixed-size and scalable
vectors. This kind of cast was previously blocked by the compiler, but
it should be allowed.

Differential Revision: https://reviews.llvm.org/D91262




More information about the All-commits mailing list