[all-commits] [llvm/llvm-project] 2be292: [Loads] Allow replacement of null with ptr in `can...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Wed Mar 4 00:45:45 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2be2926b56ea8c69a6ef5a9e1cb47033617ba268
      https://github.com/llvm/llvm-project/commit/2be2926b56ea8c69a6ef5a9e1cb47033617ba268
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M llvm/lib/Analysis/Loads.cpp
    M llvm/unittests/Analysis/LoadsTest.cpp

  Log Message:
  -----------
  [Loads] Allow replacement of null with ptr in `canReplacePointersIfEqual`

It should always be valid to allow the replacement of null with the
destination pointer, as moving from nullary provenance to a non-nullary
one preserves provenance monotonicity.



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