From 9e090dc6998fd15282303c48bfb6419857ea28b7 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 24 Sep 2022 18:53:59 +0100 Subject: [PATCH] [BPF] ex1.ll - add checks for stores Noticed while triaging alignment issues for #57872 --- llvm/test/CodeGen/BPF/ex1.ll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/CodeGen/BPF/ex1.ll b/llvm/test/CodeGen/BPF/ex1.ll index de9599b..42953e3 100644 --- a/llvm/test/CodeGen/BPF/ex1.ll +++ b/llvm/test/CodeGen/BPF/ex1.ll @@ -32,7 +32,9 @@ define i32 @bpf_prog1(%struct.bpf_context* nocapture %ctx) #0 section "events/ne ; CHECK: call 9 ; CHECK: if r0 != 0 ; CHECK: r1 = 622884453 +; CHECK: *(u32 *)(r10 - 16) = r1 ; CHECK: r1 = 7214898703899978611 ll +; CHECK: *(u64 *)(r10 - 24) = r1 ; CHECK: call 11 ; CHECK: r0 = 0 ; CHECK: exit -- 2.7.4