1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-ifcvt-details-blocks-details -ftree-loop-if-convert-stores" } */
4 void foo (int *x1
, int *x2
, int *x3
, int *x4
, int *y
)
7 int a1
, a2
, a3
, b1
, b2
;
28 /* { dg-final { scan-tree-dump-times "Use predicate of bb" 4 "ifcvt" } } */
30 /* We insert into code
31 if (LOOP_VECTORIZED (...))
32 which is folded by vectorizer. Both outgoing edges must have probability
33 100% so the resulting profile match after folding. */
34 /* { dg-final { scan-tree-dump-times "Invalid sum of outgoing probabilities 200.0" 1 "ifcvt" } } */
35 /* { dg-final { scan-tree-dump-times "Invalid sum of incoming counts" 1 "ifcvt" } } */