blob: 3aad317bd91ba73d1cb64da20f0d3b00cede7ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
extern int g, h;
void f00(int *s)
{
g = *s;
h = *s;
}
void f01(int *a, int *b, int *s)
{
*a = *s;
*b = *s;
}
/*
* check-name: reload-aliasing.c
* check-command: test-linearize -Wno-decl $file
*
* check-output-start
f00:
.L0:
<entry-point>
load.32 %r2 <- 0[%arg1]
store.32 %r2 -> 0[g]
load.32 %r4 <- 0[%arg1]
store.32 %r4 -> 0[h]
ret
f01:
.L2:
<entry-point>
load.32 %r6 <- 0[%arg3]
store.32 %r6 -> 0[%arg1]
load.32 %r9 <- 0[%arg3]
store.32 %r9 -> 0[%arg2]
ret
* check-output-end
*/
|