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

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 04:34:26 PDT 2024


jayfoad wrote:

Why do you need to pass in TRI at all? Can't MachineInstr methods always get at it via MF.getSubtarget().getRegisterInfo()?

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


More information about the llvm-commits mailing list