[llvm] Reapply "[coro][CoroSplit] Use `llvm.lifetime.end` to compute putting objects on the frame vs the stack (#90265) (PR #91372)
Chuanqi Xu via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 18:45:41 PDT 2024
https://github.com/ChuanqiXu9 commented:
The code duplication is slightly not good. Can we try to mitigate such problems by some template techniques?
For example, (may be):
```
if constexpr (isMany) {
if (StopSet.contains(BB))
return true;
} else {
if (BB == StopBB) // or BB == *StopSet.begin()
return true;
}
```
https://github.com/llvm/llvm-project/pull/91372
More information about the llvm-commits
mailing list