diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2023-11-25 18:50:46 -0800 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2023-11-25 19:00:58 -0800 |
commit | a9693bff396b28748464630e4c524776bce3ff4e (patch) | |
tree | de73714afd0767a60986831f768835cbb09933f5 /gcc | |
parent | 6e15e4e1abed02443a27a69455f4bfa49457c99e (diff) | |
download | gcc-a9693bff396b28748464630e4c524776bce3ff4e.zip gcc-a9693bff396b28748464630e4c524776bce3ff4e.tar.gz gcc-a9693bff396b28748464630e4c524776bce3ff4e.tar.bz2 |
Fix gcc.target/aarch64/simd/vmulxd_{f64,f32}_2.c after after IPA-VRP improvement for return values
Just like the patch against gcc.target/aarch64/movk.c, the issue here
is the two functions, foo32 and foo64 needed to mark as noipa so that
IPA-VRP cannot propagate the return value.
gcc/testsuite/ChangeLog:
PR testsuite/112688
* gcc.target/aarch64/simd/vmulx.x (foo32): Mark as noipa rather
than noinline.
(foo4): Likewise.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/simd/vmulx.x | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vmulx.x b/gcc/testsuite/gcc.target/aarch64/simd/vmulx.x index 8968a64..869e748 100644 --- a/gcc/testsuite/gcc.target/aarch64/simd/vmulx.x +++ b/gcc/testsuite/gcc.target/aarch64/simd/vmulx.x @@ -33,13 +33,13 @@ while (0) \ /* Functions used to return values that won't be optimised away. */ -float32_t __attribute__ ((noinline)) +float32_t __attribute__ ((noipa)) foo32 () { return 1.0; } -float64_t __attribute__ ((noinline)) +float64_t __attribute__ ((noipa)) foo64 () { return 1.0; |