Mark IFN_COMPLEX_MUL as commutative
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 30 Nov 2021 09:52:26 +0000 (09:52 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 30 Nov 2021 09:52:26 +0000 (09:52 +0000)
commit71207246b02b33c1ceb169db54fddaa5c5c31824
tree3dfa03e6947550414aa969cce79ceda142e5488b
parente9fff24cd2b365a236fcb31bdf186f6ec9e00f76
Mark IFN_COMPLEX_MUL as commutative

gcc/
* internal-fn.c (commutative_binary_fn_p): Handle IFN_COMPLEX_MUL.

gcc/testsuite/
* gcc.target/aarch64/sve/complex_mul_1.c: New test.
gcc/internal-fn.c
gcc/testsuite/gcc.target/aarch64/sve/complex_mul_1.c [new file with mode: 0644]