[PATCH] D106462: [SROA] prevent crash on large memset length (PR50910)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 30 06:16:57 PDT 2021


lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.

I suppose we could instead clamp to the maximal remaining alloca size,
but it's UB so it doesn't seem worth spending too much time on it.
Seems fine to me.


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

https://reviews.llvm.org/D106462



More information about the llvm-commits mailing list