https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114522
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:7d8e8f89732b1f13752e1b370852c7bcbbbde259 commit r15-7434-g7d8e8f89732b1f13752e1b370852c7bcbbbde259 Author: Andrew Pinski <quic_apin...@quicinc.com> Date: Tue Feb 4 22:24:52 2025 -0800 aarch64: gimple fold aes[ed] [PR114522] Instead of waiting to get combine/rtl optimizations fixed here. This fixes the builtins at the gimple level. It should provide for slightly faster compile time since we have a simplification earlier on. Built and tested for aarch64-linux-gnu. gcc/ChangeLog: PR target/114522 * config/aarch64/aarch64-builtins.cc (aarch64_fold_aes_op): New function. (aarch64_general_gimple_fold_builtin): Call aarch64_fold_aes_op for crypto_aese and crypto_aesd. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>