gcc/testsuite/gcc.target/powerpc/pr109069-2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* Disable rs6000 optimize_swaps as it drops some REG_EQUAL |
| 3 | notes on const vector and affects test point here. */ |
| 4 | /* { dg-options "-O2 -mvsx -mno-optimize-swaps" } */ |
| 5 | /* { dg-require-effective-target powerpc_vsx } */ |
| 6 | |
| 7 | /* Verify we can optimize away vector shifting if every byte |
| 8 | of vector is the same. */ |
| 9 | |
| 10 | #include "pr109069-2.h" |
| 11 | |
| 12 | /* { dg-final { scan-assembler-not {\mvsldoi\M} } } */ |