[PATCH] D107882: BPF: Enable frontend constant folding for VLA size
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 1 11:29:46 PDT 2021
efriedma added a comment.
I'd prefer not to mess with the AST if we don't need to; more differences between targets make it harder to understand any issues that come up. BPF-flavored C already has enough weird differences without adding unnecessary changes.
If all you need is to avoid unnecessary llvm.stacksave calls, can you try messing with CodeGenFunction::EmitAutoVarAlloca?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107882/new/
https://reviews.llvm.org/D107882
More information about the cfe-commits
mailing list