[llvm] [BPF] Handle nested wrapper structs in BPF map definition traversal (PR #144097)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 09:40:18 PDT 2025


================
@@ -0,0 +1,606 @@
+; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK-SHORT %s
+; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s
----------------
eddyz87 wrote:

Could you please take a look at the test case `llvm/test/CodeGen/BPF/BTF/unreachable.ll`?
There and in a few other places we started using a small python script, `print_btf.py` to print out BTF in tests in a readable form.

https://github.com/llvm/llvm-project/pull/144097


More information about the llvm-commits mailing list