1
Fork 0

Address review comments

This commit is contained in:
Nikita Popov 2024-01-02 14:41:08 +01:00
parent c2fd26a115
commit 8e64fc94d8
3 changed files with 6 additions and 9 deletions

View file

@ -22,7 +22,7 @@ pub fn scalar_layout(s: &(u64, ())) {
// CHECK-LABEL: @scalarpair_layout
#[no_mangle]
pub fn scalarpair_layout(s: &(u64, u32, ())) {
// CHECK: getelementptr i8, {{.+}}, [[USIZE]] 12
// CHECK: getelementptr inbounds i8, {{.+}}, [[USIZE]] 12
let x = &s.2;
witness(&x); // keep variable in an alloca
}