[PATCH] D107882: BPF: Enable frontend constant folding for VLA size

Paul Chaignon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 03:30:18 PDT 2021


pchaigno added a comment.

I tested this patch by running it through Cilium's CI which compiles, loads, and validates the behavior of hundreds of slightly different BPF programs. The tests cover several different kernels and all three BPF instruction set extensions (mcpu={v1,v2,v3}). It did not generate invalid bytecode with the register R11 <https://reviews.llvm.org/source/libunwind/> anymore and the tests did not uncover any other regressions with this patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107882/new/

https://reviews.llvm.org/D107882



More information about the llvm-commits mailing list