[llvm] [CodeGen] Make the parameter TRI required in some functions. (PR #85968)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 7 09:10:02 PDT 2024


RKSimon wrote:

> I'd argue that all these extra nullptr arguments add a lot of churn for no reason unless the plan is to always pass TRI. Can't we just pass the parameter when needed? That would make this patch a lot smaller.

Maybe, but we're no closer to fixing the problem of people forgetting to provide a TRI and then kill flags etc. get stale. 

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


More information about the llvm-commits mailing list