[all-commits] [llvm/llvm-project] 6c5da8: [AArch64][SVE][Clang] Fix crash for incorrect svpt...
Matthew Devereau via All-commits
all-commits at lists.llvm.org
Fri Mar 11 03:21:57 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c5da880e03cafc49008612eb687910f3f805057
https://github.com/llvm/llvm-project/commit/6c5da880e03cafc49008612eb687910f3f805057
Author: Matt Devereau <matthew.devereau at arm.com>
Date: 2022-03-11 (Fri, 11 Mar 2022)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_svcnt.c
A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_svptrue.c
Log Message:
-----------
[AArch64][SVE][Clang] Fix crash for incorrect svptrue and svcnt parameters
Giving an int parameter to SVE intrinsics svptrue and svcnt caused Clang
to crash on compilation. Changing their parameter types to void instead of
omitting args results in a diagnostic error message instead.
Differential Revision: https://reviews.llvm.org/D121294
More information about the All-commits
mailing list