]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Check the mode of SVE ACLE function results
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 4 Aug 2025 10:45:36 +0000 (11:45 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 4 Aug 2025 10:45:36 +0000 (11:45 +0100)
commitd9f34c951ab1f5ba67f3a1c95e2533cff6230b85
tree6dd6f9eb78afa991c28d471828174b89b90004a2
parentf4915d9b6632ed0ea7e43027a9d5124bd067df49
aarch64: Check the mode of SVE ACLE function results

After previous patches, we should always get a VNx16BI result
for ACLE intrinsics that return svbool_t.  This patch adds
an assert that checks a more general condition than that.

gcc/
* config/aarch64/aarch64-sve-builtins.cc
(function_expander::expand): Assert that the return value
has an appropriate mode.
gcc/config/aarch64/aarch64-sve-builtins.cc