[PATCH] D120295: [SampleProfile] [ICP] Handle the case when the option `MaxNumPromotions` is zero.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 21 20:53:34 PST 2022
MaskRay added a comment.
Is there a test triggering the zero-length code path? It's valid to allocate an array of length zero. The code just cannot dereference the pointer.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120295/new/
https://reviews.llvm.org/D120295
More information about the llvm-commits
mailing list