[all-commits] [llvm/llvm-project] c2ed0b: [CaptureTracking] Remove allocator comparison spec...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 3 00:52:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2ed0b1d825d7c75ca15b57812767ec3858c60db
      https://github.com/llvm/llvm-project/commit/c2ed0b1d825d7c75ca15b57812767ec3858c60db
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M llvm/lib/Analysis/CaptureTracking.cpp

  Log Message:
  -----------
  [CaptureTracking] Remove allocator comparison special case (#201143)

CaptureTracking had a special case that (incorrectly) reported
`captures(none)` for comparisons of allocation functions with null.
Remove this special case and return the correct
`captures(address_is_null)` result instead.

It seems like this doesn't have any practical benefit anymore, as things
like AA will ignore address-only captures nowadays.



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