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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 1 11:05:32 PDT 2024


  Branch: refs/heads/users/arsenm/issue97086-inliner-byval-non-alloca-addrspace
  Home:   https://github.com/llvm/llvm-project
  Commit: 77ceba2f579a0d685c4c99df765cf84b5626ef82
      https://github.com/llvm/llvm-project/commit/77ceba2f579a0d685c4c99df765cf84b5626ef82
  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

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


  Commit: 7fa34cd79023f3c4257193161a2f7291ff82b6d9
      https://github.com/llvm/llvm-project/commit/7fa34cd79023f3c4257193161a2f7291ff82b6d9
  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

  Log Message:
  -----------
  Update InlineFunction.cpp

Co-authored-by: Nikita Popov <npopov at redhat.com>


  Commit: 4cc0aa4c2947bd6ecb11d354e9080613b3e9f241
      https://github.com/llvm/llvm-project/commit/4cc0aa4c2947bd6ecb11d354e9080613b3e9f241
  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

  Log Message:
  -----------
  Run clang-format


Compare: https://github.com/llvm/llvm-project/compare/c4d62fcf3e86...4cc0aa4c2947

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