[PATCH] D101510: Do not merge memcpy if the first source is a parameter of coroutine function

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 12:27:45 PDT 2021


rnk added a comment.

Since we are already in the space of finding workarounds, when is the memcpy of the byval parameter introduced? Is it compiler generated? If so, could it be marked volatile there? This would limit the coroutines-specific workaround to coroutine code, which move the tech debt burden from generic LLVM code to coroutines code. That would work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101510



More information about the llvm-commits mailing list