1 /* { dg-do compile { target aarch64-*-* } } */
2 /* { dg-options "-fdump-rtl-cse1" } */
4 /* Dump taken from comment 2 of PR 71779, of
5 "...the relevant memory access coming out of expand"
6 hand-edited to the compact dump format. */
8 int __RTL (startwith ("cse1")) test (int n
)
12 (DECL_RTL (reg
/v
:SI
<1> [ n
]))
13 (DECL_RTL_INCOMING (reg
:SI x0
[ n
]))
17 (edge
-from
entry (flags
"FALLTHRU"))
18 (cnote
6 [bb
2] NOTE_INSN_BASIC_BLOCK
)
20 ;; MEM
[(struct isl_obj
*)&obj1
] = &isl_obj_map_vtable
;
21 (insn
1045 (set (reg
:SI
<480>)
22 (high
:SI (symbol_ref
:SI ("isl_obj_map_vtable")
24 <var_decl
0x7fa0363ea240 isl_obj_map_vtable
>)))
26 (insn
1046 (set (reg
/f
:SI
<479>)
27 (lo_sum
:SI (reg
:SI
<480>)
28 (symbol_ref
:SI ("isl_obj_map_vtable")
30 <var_decl
0x7fa0363ea240 isl_obj_map_vtable
>)))
32 (expr_list
:REG_EQUAL (symbol_ref
:SI ("isl_obj_map_vtable")
34 <var_decl
0x7fa0363ea240 isl_obj_map_vtable
>)))
35 (insn
1047 (set (reg
:DI
<481>)
36 (subreg
:DI (reg
/f
:SI
<479>) 0)) "y.c":12702)
37 (insn
1048 (set (zero_extract
:DI (reg
/v
:DI
<191> [ obj1D
.17368 ])
40 (reg
:DI
<481>)) "y.c":12702)
41 ;; Extra insn
, to avoid all of the above from being deleted by DCE
42 (insn
1049 (set (mem
:DI (reg
:DI
<191>) [1 i
+0 S4 A32
])
44 (edge
-to
exit (flags
"FALLTHRU"))
50 /* TODO: scan the dump. */