See https://discourse.llvm.org/t/psa-new-improved-fold-method-signature-has-landed-please-update-your-downstream-projects/67618 for context
This is the last required patch in my series of patches migrating in-tree uses of the old fold API. Previous patches have been per dialect (sorry for the review "spam", hope it wasn't too bad), while this one contains remaining dialects that have only one or two fold implementations or are otherwise trivial.