[all-commits] [llvm/llvm-project] e47359: Inline: Fix handling of byval using non-alloca add...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 1 12:10:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e47359a925b88cd081ea85d10b55b0625d17b212
      https://github.com/llvm/llvm-project/commit/e47359a925b88cd081ea85d10b55b0625d17b212
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Transforms/Inline/byval-with-non-alloca-addrspace.ll

  Log Message:
  -----------
  Inline: Fix handling of byval using non-alloca addrspace (#97306)

Use the address space of the original pointer argument instead
of querying the datalayout. This avoids producing a verifier error
since this was changing the address space for the user instructions.

Fixes #97086



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