Skip to content

Commit daaaacd

Browse files
remove alloca type from issue-105386-ub-in-debuginfo
It's irrelevant for the purposes of this test (there is only one alloca) and its size changes depending on the target, so it can't be matched easily.
1 parent 1ce5dc8 commit daaaacd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codegen/issues/issue-105386-ub-in-debuginfo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn outer_function(x: S, y: S) -> usize {
1515
// Check that we do not attempt to load from the spilled arg before it is assigned to
1616
// when generating debuginfo.
1717
// CHECK-LABEL: @outer_function
18-
// CHECK: [[spill:%.*]] = alloca [72 x i8]
18+
// CHECK: [[spill:%.*]] = alloca
1919
// CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds i8, ptr [[spill]]
2020
// CHECK-NOT: [[load:%.*]] = load ptr, ptr
2121
// CHECK: call void @llvm.lifetime.start{{.*}}({{.*}}, ptr [[spill]])

0 commit comments

Comments
 (0)