1 /* This test is meant to verify that the gimple-folding does not
2 occur when the LHS portion of an expression is missing.
3 The intent of this test is to verify that we do not generate an ICE.
4 This was noticed during debug of PR81317. */
6 /* { dg-do compile } */
7 /* { dg-options "-maltivec" } */
8 /* { dg-require-effective-target powerpc_altivec } */
13 test1_nolhs (vector
bool short x
, vector
signed short y
)
16 return vec_add (x
, y
);
20 test2_nolhs (vector
signed short x
, vector
bool short y
)
23 return vec_add (x
, y
);