https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154
--- Comment #76 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>: https://gcc.gnu.org/g:f30ecd8050444fb902ab66b4600c590908861fdf commit r14-5285-gf30ecd8050444fb902ab66b4600c590908861fdf Author: Tamar Christina <tamar.christ...@arm.com> Date: Thu Nov 9 14:00:20 2023 +0000 ifcvt: Add support for conditional copysign This adds a masked variant of copysign. Nothing very exciting just the general machinery to define and use a new masked IFN. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Note: This patch is part of a testseries and tests for it are added in the AArch64 patch that adds supports for the optab. gcc/ChangeLog: PR tree-optimization/109154 * internal-fn.def (COPYSIGN): New. * match.pd (UNCOND_BINARY, COND_BINARY): Map IFN_COPYSIGN to IFN_COND_COPYSIGN. * optabs.def (cond_copysign_optab, cond_len_copysign_optab): New.