[all-commits] [llvm/llvm-project] 0e0c7e: AMDGPU/GlobalISel: Add more tests for byval arguments

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Mar 11 07:23:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e0c7ef8e48ce4b42b5ebb8b71b492280eb91419
      https://github.com/llvm/llvm-project/commit/0e0c7ef8e48ce4b42b5ebb8b71b492280eb91419
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Add more tests for byval arguments


  Commit: cf5ecd5644ce2f35aad5510d6ce245a9cfe2505f
      https://github.com/llvm/llvm-project/commit/cf5ecd5644ce2f35aad5510d6ce245a9cfe2505f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll

  Log Message:
  -----------
  GlobalISel: Fix off by one in finding explicit byval alignment

For attribute sets, the return index is at 0, and arguments start at
1. getParamAlignment adds the offset of 1, so we need to convert from
attribute index back to IR index.


Compare: https://github.com/llvm/llvm-project/compare/e361afb6c5c9...cf5ecd5644ce


More information about the All-commits mailing list