Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr84101.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mtune=generic -fdump-tree-slp2-details" } */
3
4 typedef struct uint64_pair uint64_pair_t ;
5 struct uint64_pair
6 {
7 unsigned long w0 ;
8 unsigned long w1 ;
9 } ;
10
11 uint64_pair_t pair(int num)
12 {
13 uint64_pair_t p ;
14
15 p.w0 = num << 1 ;
16 p.w1 = num >> 1 ;
17
18 return p ;
19 }
20
21 /* { dg-final { scan-tree-dump-not "optimized: basic block" "slp2" } } */