[PATCH] D135488: [codegen] Add a remarks based Stack Layout Analysis pass

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 15:14:31 PST 2023


thegameg added a comment.

In D135488#4048854 <https://reviews.llvm.org/D135488#4048854>, @paulkirth wrote:

> In D135488#4048380 <https://reviews.llvm.org/D135488#4048380>, @nickdesaulniers wrote:
>
>> It would be really nice if we could limit this to a specific function somehow.
>
> I think you can do that, right ?
> see: 
> https://llvm.org/docs/Remarks.html#cmdoption-pass-remarks-filter

This filters on the `Name` of the remark, so here it would be `stack-frame-layout`.

I think a `-Rpass-func-filter=<regex>` would be a great addition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135488



More information about the llvm-commits mailing list