[llvm] [SystemZ] Use hasAddressTaken() with verifyNarrowIntegerArgs (NFC). (PR #131039)

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 15 09:01:54 PDT 2025


JonPsson1 wrote:

> > > Instead of adding the new map, can't this bit of information be cached in SystemZMachineFunctionInfo?
> > 
> > 
> > I think SystemZTargetLowering is created once per module, while SystemZMachineFunctionInfo is created for each Function.
> 
> Well yes, that's why it should be the better place to store per-Function data, right?

Oh, I wasn't aware that the MachineFunctionInfo survives the compilation of the MF. In that case I agree it would make sense.

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


More information about the llvm-commits mailing list