Commit 517d4896 by Jakub Jelinek Committed by Jakub Jelinek

vect-opt-info-1.c: Moved to ...

	* gcc.dg/vect-opt-info-1.c: Moved to ...
	* gcc.dg/vect/nodump-vect-opt-info-1.c: ... here.  Only run on
	vect_int targets, use dg-additional-options instead of dg-options and
	use relative line numbers instead of absolute.

From-SVN: r256225
parent 5d35675c
2018-01-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/vect-opt-info-1.c: Moved to ...
* gcc.dg/vect/nodump-vect-opt-info-1.c: ... here. Only run on
vect_int targets, use dg-additional-options instead of dg-options and
use relative line numbers instead of absolute.
2018-01-03 Martin Sebor <msebor@redhat.com>
PR tree-optimization/83655
......
/* { dg-options "-std=c99 -fopt-info -O3" } */
/* { dg-do compile { target vect_int } } */
/* { dg-additional-options "-std=c99 -fopt-info -O3" } */
void
vadd (int *dst, int *op1, int *op2, int count)
{
/* { dg-message "loop vectorized" "" { target *-*-* } .+2 } */
/* { dg-message "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } .+1 } */
for (int i = 0; i < count; ++i)
dst[i] = op1[i] + op2[i];
}
/* { dg-message "loop vectorized" "" { target *-*-* } 6 } */
/* { dg-message "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } 6 } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment