[all-commits] [llvm/llvm-project] f6b9af: [AMDGPU] Extend and reorganize memory legalizer tests

Scott Linder via All-commits all-commits at lists.llvm.org
Thu Dec 3 11:42:05 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6b9afae00d685fe869c64a27502cb23ab5aed5e
      https://github.com/llvm/llvm-project/commit/f6b9afae00d685fe869c64a27502cb23ab5aed5e
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-amdpal.ll
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-cmpxchg.ll
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-fence.ll
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-rmw.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-nontemporal.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-singlethread.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-system.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-wavefront.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-workgroup.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-global-agent.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-global-nontemporal.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-global-singlethread.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-global-system.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-global-wavefront.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-global-workgroup.ll
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-load.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-local-agent.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-local-nontemporal.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-local-singlethread.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-local-system.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-local-wavefront.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-local-workgroup.ll
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-mesa3d.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-private-nontemporal.ll
    R llvm/test/CodeGen/AMDGPU/memory-legalizer-store.ll

  Log Message:
  -----------
  [AMDGPU] Extend and reorganize memory legalizer tests

* Rename some tests to try to make a convention (where all components
  are optional) of:

    <addrspace>_<syncscope>_<memory-orders>_<operation>

* Split up at a level of granularity appropriate for the different RUN
  lines (i.e. split on addrspace so GFX6 can avoid FLAT) and that makes
  running a specific test reasonable in terms of wall time taken. This
  also means when run as part of the test suite the testing is not one
  serial bottleneck.

* Auto-generate check lines with `update_llc_test_checks.py` to make
  future maintenance more tractable.

Reviewed By: rampitec, t-tye

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




More information about the All-commits mailing list