about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-13 09:08:18 +0000
committerbors <bors@rust-lang.org>2024-05-13 09:08:18 +0000
commit6be7b0c7d2b085474f9f2f9323c2266f4df105d8 (patch)
treed28f3bcd933b7c0baadad74dafc4764444ce32f5 /tests
parent982c9c1e8148034ee523a62926ef39c84fa48fea (diff)
parent99213ae164e42966f8dd37fe9f64a1e138fdf500 (diff)
downloadrust-6be7b0c7d2b085474f9f2f9323c2266f4df105d8.tar.gz
rust-6be7b0c7d2b085474f9f2f9323c2266f4df105d8.zip
Auto merge of #124999 - scottmcm:unify-aggregate, r=nnethercote
Unify `Rvalue::Aggregate` paths in cg_ssa

In #123840 and #123886 I added two different codepaths for `Rvalue::Aggregate` in `cg_ssa`.

This merges them into one, since raw pointers are also immediates that can be built from the immediates of their "fields".
Diffstat (limited to 'tests')
-rw-r--r--tests/codegen/mir-aggregate-no-alloca.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/mir-aggregate-no-alloca.rs b/tests/codegen/mir-aggregate-no-alloca.rs
index a7752d714fe..c0e7e1a05e3 100644
--- a/tests/codegen/mir-aggregate-no-alloca.rs
+++ b/tests/codegen/mir-aggregate-no-alloca.rs
@@ -55,7 +55,7 @@ pub fn make_cell_of_bool(b: bool) -> std::cell::Cell<bool> {
     std::cell::Cell::new(b)
 }
 
-// CHECK-LABLE: { i8, i16 } @make_cell_of_bool_and_short(i1 noundef zeroext %b, i16 noundef %s)
+// CHECK-LABEL: { i8, i16 } @make_cell_of_bool_and_short(i1 noundef zeroext %b, i16 noundef %s)
 #[no_mangle]
 pub fn make_cell_of_bool_and_short(b: bool, s: u16) -> std::cell::Cell<(bool, u16)> {
     // CHECK-NOT: alloca