[llvm] [GlobalISel] Optimized MatchData Handling (PR #92115)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 07:25:24 PDT 2024


jayfoad wrote:

One related thing I have never understood is, why is every combine split into a "match" function and an "apply" function? Aren't they always effectively called in tandem like this:
```
  if (matchFunc(MatchData))
    applyFunc(MatchData);
```
? Is there a use case for calling "match" without "apply"?

https://github.com/llvm/llvm-project/pull/92115


More information about the llvm-commits mailing list