diff options
author | Tamar Christina <tamar.christina@arm.com> | 2023-11-09 14:00:20 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2023-11-09 14:06:06 +0000 |
commit | f30ecd8050444fb902ab66b4600c590908861fdf (patch) | |
tree | eae4168f3ed0449c651386e0baa18eea6b943249 /libcpp/line-map.cc | |
parent | 3f176e1adc6bc9cc2c21222d776b51d9f43cb66b (diff) | |
download | gcc-f30ecd8050444fb902ab66b4600c590908861fdf.zip gcc-f30ecd8050444fb902ab66b4600c590908861fdf.tar.gz gcc-f30ecd8050444fb902ab66b4600c590908861fdf.tar.bz2 |
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.
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions