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

2021-10-14 Thread Paul Chaignon via Phabricator via cfe-commits
pchaigno added a comment. @efriedma @rsmith Did you get a chance to take a look? This regression is still affecting LLVM, including the recently released v13.0.0. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107882/new/ https://reviews.llvm.org/D

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

2021-08-18 Thread Paul Chaignon via Phabricator via cfe-commits
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