[all-commits] [llvm/llvm-project] e5c523: [AMDGPU] Produce better memoperand for LDS DMA (#7...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Dec 18 11:01:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5c523e8610492b3256dde6856811b527b4dcb35
      https://github.com/llvm/llvm-project/commit/e5c523e8610492b3256dde6856811b527b4dcb35
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  [AMDGPU] Produce better memoperand for LDS DMA (#75247)

1) It was marked as volatile. This is not needed and the only reason
   it was done is because it is both load and store and handled
   together with atomics. Global load to LDS was marked as volatile
   just because buffer load was done that way.
2) Preserve at least LDS (store) pointer which we always have with
   the intrinsics.
3) Use PoisonValue instead of nullptr for load memop as a Value.




More information about the All-commits mailing list