[all-commits] [llvm/llvm-project] 77c624: [MemoryBuiltins][NFC] Allow users to retrieve deta...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Jun 22 15:46:28 PDT 2026


  Branch: refs/heads/users/jdoerfert/memory_builtins_helpers
  Home:   https://github.com/llvm/llvm-project
  Commit: 77c624f1e5e6a7f8c3774df3f4bc101a44a3cc55
      https://github.com/llvm/llvm-project/commit/77c624f1e5e6a7f8c3774df3f4bc101a44a3cc55
  Author: Johannes Doerfert <jdoerfert.llvm at gmail.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryBuiltins.h
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/IR/Instructions.cpp

  Log Message:
  -----------
  [MemoryBuiltins][NFC] Allow users to retrieve detailed (de)allocation info

There are some helpers to inspect a value or call but not all
information about the (de)allocation are made available outside of
MemoryBuiltins.cpp. The two new functions allow users a more in-depth
view of (de)allocations through a single API. To help with this, we now
read the alloc_align attribute to provide better alignment information
to users. alloc-family is used as well. Two new helpers provide argument
numbers, rather than values.

Co-authored-by: Antonio Frighetto <me at antoniofrighetto.com>



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