xazax.hun added reviewers: NoQ, vsavchenko.
xazax.hun added a comment.

Thanks for finding this bug! Adding some reviewers.

I think it would be perfectly fine to unroll loops where the loop counter is a 
pass-by-value parameter. That should not be considered escaped.

I think in case of parameters `isPossiblyEscaped` should return false for 
values and true for references.

What do you think?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80171



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to