[llvm] [Attributor] Compare an indirect call's callee in the program address space (PR #222097)

Larry Meadows via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 13:46:35 PDT 2026


================
@@ -12495,10 +12495,16 @@ struct AAIndirectCallInfoCallSite : public AAIndirectCallInfo {
       return ChangeStatus::UNCHANGED;
 
     ChangeStatus Changed = ChangeStatus::UNCHANGED;
+    // The callees this is compared against below are functions, which live in
+    // the program address space. Normalize to that rather than to zero: they
----------------
lfmeadow wrote:

Can't say I disagree. I'll try to be more careful.

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


More information about the llvm-commits mailing list