[all-commits] [llvm/llvm-project] 89a86e: [AMDGPU] Autogenerate a test in preparation for up...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Thu Nov 17 04:00:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89a86ed9818ed1f13b02d6dc3cdae136a773a4dd
      https://github.com/llvm/llvm-project/commit/89a86ed9818ed1f13b02d6dc3cdae136a773a4dd
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll

  Log Message:
  -----------
  [AMDGPU] Autogenerate a test in preparation for upcoming change


  Commit: 754d25844a7e5793b1b6523ce223061dba7da7c1
      https://github.com/llvm/llvm-project/commit/754d25844a7e5793b1b6523ce223061dba7da7c1
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll
    M llvm/test/CodeGen/X86/mcu-abi.ll
    M llvm/test/CodeGen/X86/memset-2.ll
    M llvm/test/CodeGen/X86/memset64-on-x86-32.ll

  Log Message:
  -----------
  [CGP] Update MemIntrinsic alignment if possible

Previously it was only being done if shouldAlignPointerArgs() returned
true, which right now is only true for ARM targets.
Updating the argument alignment attributes of memcpy/memset intrinsics
if the underlying object has larger alignment can be beneficial even
when CGP didn't increase alignment (as can be seen from the test changes),
so invert the loop and if condition.

Differential Revision: https://reviews.llvm.org/D134281


Compare: https://github.com/llvm/llvm-project/compare/201ed71cfd7e...754d25844a7e


More information about the All-commits mailing list