[all-commits] [llvm/llvm-project] 917971: [ArgPromotion] Pass context instruction to derefer...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 8 05:37:06 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    M llvm/test/Transforms/ArgumentPromotion/align.ll

  Log Message:
  -----------
  [ArgPromotion] Pass context instruction to dereferenceability check (#202305)

This is necessary for argument promotion to work under deref-at-point
semantics. For the primary case, specify the context instruction as the
first instruction in the function, which should effectively disable the
check for frees.



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