[PATCH] D80249: CodeGen: Don't lazily construct MachineFunctionInfo

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 15:18:17 PST 2022


paquette added a comment.

Considering

1. Lazily constructing MFI is causing real pain, and makes it possible to write some silly bugs
2. There haven't been any comments on this in a considerable amount of time, implying there aren't any strong opinions
3. The drawback is that you have to type "MF" in some places

Right now, I think it would be good to just fix the existing footgun. I think it's probably okay to just land this?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80249/new/

https://reviews.llvm.org/D80249



More information about the llvm-commits mailing list