[all-commits] [llvm/llvm-project] 5acd6e: [AsyncToLLVM] Align frames to 64 bytes

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Mon Jan 17 09:52:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5acd6e05221574643feb8477ad07e89fd766ec53
      https://github.com/llvm/llvm-project/commit/5acd6e05221574643feb8477ad07e89fd766ec53
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
    M mlir/test/Conversion/AsyncToLLVM/convert-coro-to-llvm.mlir

  Log Message:
  -----------
  [AsyncToLLVM] Align frames to 64 bytes

Coroutine lowering always takes the natural alignment when spilling to
the frame (issue #53148) so using AVX2 or AVX512 in a coroutine doesn't
work. Always overalign to 64 bytes to avoid this issue until we have a
better solution.

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




More information about the All-commits mailing list