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

Xu Zhang via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 04:34:33 PDT 2024


simonzgx wrote:

> What's the plan here - are you going to enforce that all callers pass in a non-null TRI?

I don't think so. This patch is to make the caller explicitly pass the TRI parameter, but you can still call it by passing just a nullptr.

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


More information about the llvm-commits mailing list