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

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 15 03:20:01 PDT 2025


uweigand 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?

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


More information about the llvm-commits mailing list