[all-commits] [llvm/llvm-project] df2641: [ObjC][ProvenanceEval] Only evaluate pointers (#13...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri May 2 02:01:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df264170f7f83530e03fb1ac22b3241797e86fe4
      https://github.com/llvm/llvm-project/commit/df264170f7f83530e03fb1ac22b3241797e86fe4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M llvm/lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
    M llvm/test/Transforms/ObjCARC/provenance.ll

  Log Message:
  -----------
  [ObjC][ProvenanceEval] Only evaluate pointers (#136876)

I believe this pass should only be calling PA.related() on pointer
arguments -- the operation is not really meaningful for non-pointers.

I've adjusted the test to use ptr loads instead of i8 loads, which I
believe aligns with how these special globals would actually be used,
and which is probably what this was intending to test.

Ran into this while trying to eliminate illegal non-pointer AA queries.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list