[all-commits] [llvm/llvm-project] 107930: [DataLayout] Add isNullPointerAllZeroes

Robert Imschweiler via All-commits all-commits at lists.llvm.org
Tue Nov 4 01:19:49 PST 2025


  Branch: refs/heads/users/ro-i/null-ptr-zero
  Home:   https://github.com/llvm/llvm-project
  Commit: 107930bb7ac0c2a9867285a931042b707986e606
      https://github.com/llvm/llvm-project/commit/107930bb7ac0c2a9867285a931042b707986e606
  Author: Robert Imschweiler <robert.imschweiler at amd.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/unittests/IR/DataLayoutTest.cpp

  Log Message:
  -----------
  [DataLayout] Add isNullPointerAllZeroes

Add a function to check for a given address space if its null pointer
has an all-zero bit representation.


  Commit: 28f70abab70ae1091894720cd779d8a1433d73dd
      https://github.com/llvm/llvm-project/commit/28f70abab70ae1091894720cd779d8a1433d73dd
  Author: Robert Imschweiler <robert.imschweiler at amd.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/unittests/IR/DataLayoutTest.cpp

  Log Message:
  -----------
  always return true for now


Compare: https://github.com/llvm/llvm-project/compare/9113b53de54d...28f70abab70a

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