[all-commits] [llvm/llvm-project] c1bc79: [Coroutine] Remain alignment information when merg...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Wed Jan 20 03:00:00 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1bc7981babcae20247650a4b8adab9c0c97890a
https://github.com/llvm/llvm-project/commit/c1bc7981babcae20247650a4b8adab9c0c97890a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
A llvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-04.ll
A llvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-05.ll
Log Message:
-----------
[Coroutine] Remain alignment information when merging frame variables
Summary: This is to address bug48712.
The solution in this patch is that when we want to merge two variable a
into the storage frame of variable b only if the alignment of a is
multiple of b.
There may be other strategies. But now I think they are hard to handle
and benefit little. Or we can implement them in the future.
Test-plan: check-llvm
Reviewers: jmorse, lxfind, junparser
Differential Revision: https://reviews.llvm.org/D94891
More information about the All-commits
mailing list