[llvm] 9e090dc - [BPF] ex1.ll - add checks for stores

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 24 10:56:01 PDT 2022


Author: Simon Pilgrim
Date: 2022-09-24T18:53:59+01:00
New Revision: 9e090dc6998fd15282303c48bfb6419857ea28b7

URL: https://github.com/llvm/llvm-project/commit/9e090dc6998fd15282303c48bfb6419857ea28b7
DIFF: https://github.com/llvm/llvm-project/commit/9e090dc6998fd15282303c48bfb6419857ea28b7.diff

LOG: [BPF] ex1.ll - add checks for stores

Noticed while triaging alignment issues for #57872

Added: 
    

Modified: 
    llvm/test/CodeGen/BPF/ex1.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/BPF/ex1.ll b/llvm/test/CodeGen/BPF/ex1.ll
index de9599b54d20d..42953e3e3137e 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


        


More information about the llvm-commits mailing list