[llvm] [IPO] Added attributor for identifying invariant loads (PR #141800)

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 15:18:42 PDT 2025


krzysz00 wrote:

> No, this file is target agnostic so all target related stuff can be here. If anything target related needed, it has to go through TTI hook.

Yeah, that's what I meant. `TTI::isGlobalConstantsAddressSpace(unsigned)` if such a thing doesn't already exist

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


More information about the llvm-commits mailing list