[all-commits] [llvm/llvm-project] e6d912: ValueTracking: Do not return nullptr from getUnder...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Nov 6 20:20:37 PST 2024


  Branch: refs/heads/users/arsenm/fix-vector-of-ptr-getunderlyingobject
  Home:   https://github.com/llvm/llvm-project
  Commit: e6d9121fc3d8b3ecb080d65faa948c16966ec4f9
      https://github.com/llvm/llvm-project/commit/e6d9121fc3d8b3ecb080d65faa948c16966ec4f9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    A llvm/test/Transforms/FunctionAttrs/vector-of-pointers-getunderlyingobject-crash.ll

  Log Message:
  -----------
  ValueTracking: Do not return nullptr from getUnderlyingObject

Fixup for 29a5c054e6d56a912ed5ba3f84e8ca631872db8b. The failure case
should return the last value found.



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