[llvm] [AArch64][NFC] Hoist TRI definition on AArch64InstrInfo::copyPhysReg (PR #162826)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 08:27:45 PDT 2025


https://github.com/MacDue commented:

I think all `const TargetRegisterInfo *TRI = &getRegisterInfo();` in this function can be replaced with `RI.` (which reuses the existing member variable). 

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


More information about the llvm-commits mailing list