about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-23 05:33:22 +0000
committerbors <bors@rust-lang.org>2023-09-23 05:33:22 +0000
commit5ddf866c9c91afa53d26a3bf13c2cce4dd8bb21d (patch)
tree8981d23317d71c12ac7a3e1241f1fed1fee34d41 /tests/codegen
parenta0defe0a26d6ccf3ed6f8ed803547b5dd50c7d4f (diff)
parent3ca49cfe9d0ab73f3ee33f6f216b1d001f7cd073 (diff)
downloadrust-5ddf866c9c91afa53d26a3bf13c2cce4dd8bb21d.tar.gz
rust-5ddf866c9c91afa53d26a3bf13c2cce4dd8bb21d.zip
Auto merge of #3077 - rust-lang:rustup-2023-09-23, r=saethlin
Automatic sync from rustc
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/issues/issue-105386-ub-in-debuginfo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
index f345c96e6f7..54c50f840c5 100644
--- a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
+++ b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
@@ -15,8 +15,8 @@ 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 %"[closure@{{.*.rs}}:9:23: 9:25]"
-// CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds %"[closure@{{.*.rs}}:9:23: 9:25]", ptr [[spill]]
+// CHECK: [[spill:%.*]] = alloca %"{closure@{{.*.rs}}:9:23: 9:25}"
+// CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds %"{closure@{{.*.rs}}:9:23: 9:25}", ptr [[spill]]
 // CHECK-NOT: [[load:%.*]] = load ptr, ptr
 // CHECK: call void @llvm.lifetime.start{{.*}}({{.*}}, ptr [[spill]])
 // CHECK: [[inner:%.*]] = getelementptr inbounds %"{{.*}}", ptr [[spill]]