about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Desjardins <erikdesjardins@users.noreply.github.com>2024-04-12 08:31:35 -0400
committerErik Desjardins <erikdesjardins@users.noreply.github.com>2024-04-12 08:36:22 -0400
commitdaaaacdcb31addf5a56fe70884d72cf28998bdc2 (patch)
tree3af9a0ffade39842c7359533aa67e60c351f523b
parent1ce5dc8d9c638194306e63abfe81748c77e7386e (diff)
downloadrust-daaaacdcb31addf5a56fe70884d72cf28998bdc2.tar.gz
rust-daaaacdcb31addf5a56fe70884d72cf28998bdc2.zip
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.
-rw-r--r--tests/codegen/issues/issue-105386-ub-in-debuginfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
index 4d1c0a83b55..56b4330b1a6 100644
--- a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
+++ b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
@@ -15,7 +15,7 @@ pub fn outer_function(x: S, y: S) -> usize {
 // Check that we do not attempt to load from the spilled arg before it is assigned to
 // when generating debuginfo.
 // CHECK-LABEL: @outer_function
-// CHECK: [[spill:%.*]] = alloca [72 x i8]
+// CHECK: [[spill:%.*]] = alloca
 // CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds i8, ptr [[spill]]
 // CHECK-NOT: [[load:%.*]] = load ptr, ptr
 // CHECK: call void @llvm.lifetime.start{{.*}}({{.*}}, ptr [[spill]])