forked from OSchip/llvm-project
[test] Fix D129789 for 32bit platforms
This commit is contained in:
parent
a83004f4ff
commit
a629ec2f47
|
@ -89,7 +89,7 @@ extern void foo2(int p);
|
||||||
// O2-LABEL: @jump_backward_over_declaration(
|
// O2-LABEL: @jump_backward_over_declaration(
|
||||||
int jump_backward_over_declaration(int a) {
|
int jump_backward_over_declaration(int a) {
|
||||||
int *p = 0;
|
int *p = 0;
|
||||||
// O2: call void @llvm.lifetime.start.p0i8(i64 8,
|
// O2: call void @llvm.lifetime.start.p0i8(
|
||||||
label1:
|
label1:
|
||||||
if (p) {
|
if (p) {
|
||||||
foo2(*p);
|
foo2(*p);
|
||||||
|
@ -102,5 +102,5 @@ label1:
|
||||||
goto label1;
|
goto label1;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
// O2: call void @llvm.lifetime.end.p0i8(i64 8,
|
// O2: call void @llvm.lifetime.end.p0i8(
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue