about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-12-10 12:54:04 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-12-24 20:08:58 +0000
commit6dfda0d32f0612cc963e2c64798ab0f7d161baf9 (patch)
tree93320ec3086b22e4865bbd55ae15318f88dffc6f /tests
parent75e0824e81a5bbaf25bcea2c549c313ec698a215 (diff)
downloadrust-6dfda0d32f0612cc963e2c64798ab0f7d161baf9.tar.gz
rust-6dfda0d32f0612cc963e2c64798ab0f7d161baf9.zip
Revert codegen test change.
Diffstat (limited to 'tests')
-rw-r--r--tests/codegen/issues/issue-105386-ub-in-debuginfo.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
index a9538da1975..54c50f840c5 100644
--- a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
+++ b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
@@ -19,3 +19,5 @@ pub fn outer_function(x: S, y: S) -> usize {
 // 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]]
+// CHECK: call void @llvm.memcpy{{.*}}(ptr {{align .*}} [[inner]], ptr {{align .*}} %x