[all-commits] [llvm/llvm-project] 2d6169: Attributor: Do not assume function context in AANo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu May 23 10:31:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d61692d4b75b7d92b44bfafb1011c1723955151
      https://github.com/llvm/llvm-project/commit/2d61692d4b75b7d92b44bfafb1011c1723955151
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    A llvm/test/Transforms/Attributor/issue87856.ll

  Log Message:
  -----------
  Attributor: Do not assume function context in AANoCapture (#91462)

If the calling function has the null_pointer_is_valid attribute, somehow
a null constant reaches here. I'm not sure why exactly, it doesn't
happen for other types of constants.

Fixes #87856



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