[all-commits] [llvm/llvm-project] c3c391: Revert "[DenseMap] Do not align pointer sentinel v...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 7 06:16:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3c3919dc2d37d62e539376679feed7aaf799259
      https://github.com/llvm/llvm-project/commit/c3c3919dc2d37d62e539376679feed7aaf799259
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M clang/lib/AST/APValue.cpp
    M llvm/include/llvm/ADT/DenseMapInfo.h
    M llvm/include/llvm/ADT/PointerUnion.h
    M mlir/include/mlir/Support/TypeID.h
    M mlir/lib/Bindings/Python/NanobindUtils.h

  Log Message:
  -----------
  Revert "[DenseMap] Do not align pointer sentinel values (NFC) (#146595)"

This reverts commit 7a6435bec59010e4bb2e1e52a9ba840ed152b4ce.

This causes ubsan failures when the sentinel pointers are upcast
using static_cast<>, which checks alignment.



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