[PATCH] D71547: Resubmit "[Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove"

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 06:46:34 PST 2020


aganea added a comment.

> ! In D71547#1891256 <https://reviews.llvm.org/D71547#1891256>, @gchatelet wrote:
>  I'm not sure how far the reduced example is from the real code but I suspect that using an `auto&` instead of `auto` for the `foreach` variable will fix the issue.

Using `auto&` does indeed fix the assert, I forgot to mention that :-)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71547





More information about the llvm-commits mailing list