[all-commits] [llvm/llvm-project] 5c7dcd: [Coroutine] Update promise object's final layout i...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Tue Jan 12 17:49:02 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c7dcd7aead7b33ba065b98ab3573278feb42228
      https://github.com/llvm/llvm-project/commit/5c7dcd7aead7b33ba065b98ab3573278feb42228
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    A llvm/test/Transforms/Coroutines/coro-spill-promise.ll

  Log Message:
  -----------
  [Coroutine] Update promise object's final layout index

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

Reviewed By: lxfind

Differential Revision: https://reviews.llvm.org/D94137




More information about the All-commits mailing list