[PATCH] D96854: [CodeExtractor] Enable partial aggregate arguments
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 23 11:13:41 PDT 2021
vsk added a comment.
Thanks for explaining. I'd suggest making ExcludedAggArgs part of a CodeExtractor instances internal state: e.g. the client may call CE.addArgExludedFromAggregate(Value *) some number of times before CE.extractCodeRegion(). This way, the client doesn't need to maintain a SetVector, and the rest of the interface isn't polluted with an option that's specific to the AggregateArg case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96854/new/
https://reviews.llvm.org/D96854
More information about the llvm-commits
mailing list