[all-commits] [llvm/llvm-project] 856bdd: [Sema][SVE] Allow casting SVE types to themselves ...
rsandifo-arm via All-commits
all-commits at lists.llvm.org
Wed Mar 25 03:59:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 856bdd01fd65002d8d88b491bbff53648b6002c1
https://github.com/llvm/llvm-project/commit/856bdd01fd65002d8d88b491bbff53648b6002c1
Author: Richard Sandiford <richard.sandiford at arm.com>
Date: 2020-03-25 (Wed, 25 Mar 2020)
Changed paths:
M clang/lib/Sema/SemaCast.cpp
M clang/test/Sema/sizeless-1.c
Log Message:
-----------
[Sema][SVE] Allow casting SVE types to themselves in C
Casts from an SVE type to itself aren't very useful, but they are
supposed to be valid, and could occur in things like macro expansions.
Such casts already work for C++ and are tested by sizeless-1.cpp.
This patch makes them work for C too.
Differential Revision: https://reviews.llvm.org/D76694
More information about the All-commits
mailing list