[llvm] [LLVM][ADT] Add helper class for working with caches (PR #171008)
Victor Chernyakin via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 6 21:53:08 PST 2025
localspook wrote:
Oh that's interesting, yeah, this `defer` is basically a simplified version of that paper's `elide`. Which is interesting, since we seem to have completely different use cases in mind! The paper calls it `elide` because it only seems concerned with enabling copy elision. My use case doesn't involve any elision, I'm only concerned with deferring work until it's needed, so I called it `defer`. I feel like neither of those names captures both use cases...
https://github.com/llvm/llvm-project/pull/171008
More information about the llvm-commits
mailing list