https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114522
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Christophe Lyon <cl...@gcc.gnu.org>: https://gcc.gnu.org/g:926c989131e914e69cd73529d183ebd9d637798a commit r15-7505-g926c989131e914e69cd73529d183ebd9d637798a Author: Christophe Lyon <christophe.l...@linaro.org> Date: Tue Feb 11 20:51:23 2025 +0000 arm: gimple fold aes[ed] [PR114522] Almost a copy/paste from the recent aarch64 version of this patch, this one is a bit more intrusive because it also introduces arm_general_gimple_fold_builtin. With this patch, gcc.target/arm/aes_xor_combine.c scan-assembler-not veor passes again. gcc/ChangeLog: PR target/114522 * config/arm/arm-builtins.cc (arm_fold_aes_op): New function. (arm_general_gimple_fold_builtin): New function. * config/arm/arm-builtins.h (arm_general_gimple_fold_builtin): New prototype. * config/arm/arm.cc (arm_gimple_fold_builtin): Call arm_general_gimple_fold_builtin as needed.