[PATCH] D94137: [coroutine] update promise object's final layout index

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 16:07:32 PST 2021


ychen created this revision.
ychen added a reviewer: lxfind.
Herald added subscribers: arphaman, hiraditya, qcolombet.
ychen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

promise is a header field but it is not guaranteed that it would be the third
field of the frame due to `performOptimizedStructLayout`..


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94137

Files:
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp
  llvm/test/Transforms/Coroutines/coro-spill-promise.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94137.314747.patch
Type: text/x-patch
Size: 3632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210106/f1244388/attachment.bin>


More information about the llvm-commits mailing list