[all-commits] [llvm/llvm-project] 800eba: [Attributor] Fix nofree inference for stores (#195...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon May 4 09:42:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 800eba89ea7f5541dfe5794c58612992b1f1a818
      https://github.com/llvm/llvm-project/commit/800eba89ea7f5541dfe5794c58612992b1f1a818
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/openmp_parallel.ll
    M llvm/test/Transforms/Attributor/readattrs.ll
    M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
    M llvm/test/Transforms/FunctionAttrs/readattrs.ll

  Log Message:
  -----------
  [Attributor] Fix nofree inference for stores (#195656)

Stores were treated as nofree, but this is only valid for the store
pointer operand. If it's the value operand, the pointer may be re-loaded
and then freed.



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