llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) <details> <summary>Changes</summary> Mechanically migrate the command-line target spelling on llc/opt RUN lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the redundant -mcpu. Co-Authored-By: Claude <noreply@<!-- -->anthropic.com> (Claude-Opus-4.8) --- Patch is 194.92 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/209486.diff 99 Files Affected: - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-av-none.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-av-unknown.ll (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers-mmra.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers.ll (+7-7) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-buffer-atomics.ll (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-cluster.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-lastuse.ll (+5-5) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-nontemporal.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-singlethread.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-system.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-volatile.ll (+9-9) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-wavefront.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-workgroup.ll (+13-13) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-agent.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-cluster.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-lastuse.ll (+5-5) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-nontemporal.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-singlethread.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-system.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-volatile.ll (+10-10) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-wavefront.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-global-workgroup.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-invalid-addrspace.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-invalid-syncscope.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-lds-dma-volatile-and-nontemporal.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-agent.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-cluster.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-nontemporal.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-singlethread.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-system.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-volatile.ll (+10-10) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-wavefront.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local-workgroup.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-local.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-atomics.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-1.mir (+2-3) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-2.mir (+2-3) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-agent.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-cluster.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-lastuse.ll (+5-5) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-nontemporal.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-singlethread.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-system.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-volatile.ll (+10-10) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-wavefront.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-private-workgroup.ll (+14-14) - (modified) llvm/test/CodeGen/AMDGPU/memory-legalizer-region.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/memory_clause.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/memory_clause.mir (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/memset-param-combinations.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/memset-pattern.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/merge-buffer-gfx12.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-buffer.mir (+3-3) - (modified) llvm/test/CodeGen/AMDGPU/merge-consecutive-wait-alus.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-flat-load-store.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-flat-saddr-load-store.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-flat-with-global-load-store.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-global-load-store.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-load-gfx10.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-load-gfx11.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-load-gfx12.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-load.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-sample-gfx10.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-sample-gfx11.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-sample-gfx12.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-image-sample.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-load-store-agpr.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-load-store-vreg.mir (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/merge-out-of-order-ldst.ll (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-out-of-order-ldst.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-s-load.mir (+3-3) - (modified) llvm/test/CodeGen/AMDGPU/merge-sbuffer-load.mir (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/merge-store-crash.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/merge-store-usedef.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/merge-stores.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/merge-tbuffer-gfx10.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-tbuffer-gfx11.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-tbuffer-gfx12.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merge-tbuffer-gfx9.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/merged-bfx-opt.ll (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/mesa3d.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/mfma-bf16-vgpr-cd-select.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/mfma-cd-select.ll (+5-5) - (modified) llvm/test/CodeGen/AMDGPU/mfma-convergent.mir (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/mfma-loop.ll (+3-3) - (modified) llvm/test/CodeGen/AMDGPU/mfma-no-register-aliasing.ll (+6-6) - (modified) llvm/test/CodeGen/AMDGPU/mfma-vgpr-cd-select-gfx942.ll (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/mfma-vgpr-cd-select.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/min-waves-per-eu-not-respected.ll (+1-1) - (modified) llvm/test/CodeGen/AMDGPU/min.ll (+8-8) - (modified) llvm/test/CodeGen/AMDGPU/min3.ll (+4-4) - (modified) llvm/test/CodeGen/AMDGPU/minimummaximum.ll (+8-8) - (modified) llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll (+9-9) - (modified) llvm/test/CodeGen/AMDGPU/minimumnum.ll (+26-26) ``````````diff diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-none.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-none.ll index 4f8857955ab42..8c8d3d7627d62 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-none.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-none.ll @@ -1,8 +1,8 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a < %s | FileCheck -check-prefixes=GFX90A %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a | FileCheck -check-prefixes=GFX90A-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s +; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX90A %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX90A-TGSPLIT %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX12-WGP %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s ; Test that !amdgcn-av-none suppresses MakeAvailable/MakeVisible (cache ; writeback/invalidation) while preserving ordering (waits). diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-unknown.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-unknown.ll index fd5216f4b13d8..86814684b28fd 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-unknown.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-av-unknown.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -o /dev/null %s 2>&1 | FileCheck %s +; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa -o /dev/null %s 2>&1 | FileCheck %s ; CHECK: warning: {{.*}}: unknown amdgcn-av metadata 'bogus' diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers-mmra.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers-mmra.ll index 1e6dc4e06ef4d..f5db1a024c59f 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers-mmra.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers-mmra.ll @@ -1,8 +1,8 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 < %s | FileCheck --check-prefixes=GFX10-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 < %s | FileCheck --check-prefixes=GFX11-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa < %s | FileCheck --check-prefixes=GFX10-WGP %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa < %s | FileCheck --check-prefixes=GFX11-WGP %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa < %s | FileCheck --check-prefixes=GFX12-WGP %s +; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa < %s | FileCheck --check-prefixes=GFX1250 %s define float @test_barrier_workgroup_local_mmra(ptr addrspace(3) noundef %x, ptr addrspace(3) noundef %y, float %val) { diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers.ll index 2a04466bee0a3..b6264dd6f2c5c 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-barriers.ll @@ -1,11 +1,11 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 < %s | FileCheck --check-prefixes=GFX10-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 < %s | FileCheck --check-prefixes=GFX11-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX10-WGP %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX11-WGP %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX12-WGP %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s +; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX1250 %s define amdgpu_kernel void @test_s_barrier() { ; GFX10-WGP-LABEL: test_s_barrier: diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-buffer-atomics.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-buffer-atomics.ll index a0127b8baed32..1cf8ef7a918f4 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-buffer-atomics.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-buffer-atomics.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6 -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX1250 %s define void @buffer_fat_ptr_agent_atomic_add_noret_i32(ptr addrspace(7) inreg %ptr, i32 %val) { ; GFX1250-LABEL: buffer_fat_ptr_agent_atomic_add_noret_i32: diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll index 5e9289722ff76..6262751c0bd70 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll @@ -1,18 +1,18 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx600 < %s | FileCheck --check-prefixes=GFX6 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx700 < %s | FileCheck --check-prefixes=GFX7 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 < %s | FileCheck --check-prefixes=GFX10-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdpal -O0 -mcpu=gfx700 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a | FileCheck -check-prefixes=GFX90A-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 | FileCheck -check-prefixes=GFX942-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 < %s | FileCheck --check-prefixes=GFX11-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu6.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX6 %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX7 %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX10-WGP %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdpal -O0 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s +; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX90A-TGSPLIT %s +; RUN: llc -mtriple=amdgpu9.42-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.42-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX942-TGSPLIT %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX11-WGP %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX12-WGP %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s +; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX1250 %s define amdgpu_kernel void @workgroup_acquire_fence() #0 { ; GFX6-LABEL: workgroup_acquire_fence: diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll index 76b6acb113e7e..d061845cf4458 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll @@ -1,18 +1,18 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx600 < %s | FileCheck --check-prefixes=GFX6 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx700 < %s | FileCheck --check-prefixes=GFX7 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 < %s | FileCheck --check-prefixes=GFX10-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdpal -O0 -mcpu=gfx700 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a | FileCheck -check-prefixes=GFX90A-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 | FileCheck -check-prefixes=GFX942-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 < %s | FileCheck --check-prefixes=GFX11-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu6.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX6 %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX7 %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX10-WGP %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdpal -O0 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s +; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX90A-TGSPLIT %s +; RUN: llc -mtriple=amdgpu9.42-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.42-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX942-TGSPLIT %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX11-WGP %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX12-WGP %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s +; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX1250 %s define amdgpu_kernel void @workgroup_acquire_fence() #0 { ; GFX6-LABEL: workgroup_acquire_fence: diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll index c4eda93a0a81d..d635f2a03f802 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll @@ -1,18 +1,18 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx600 < %s | FileCheck --check-prefixes=GFX6 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx700 < %s | FileCheck --check-prefixes=GFX7 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 < %s | FileCheck --check-prefixes=GFX10-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdpal -O0 -mcpu=gfx700 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a | FileCheck -check-prefixes=GFX90A-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 | FileCheck -check-prefixes=GFX942-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 < %s | FileCheck --check-prefixes=GFX11-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu6.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX6 %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX7 %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX10-WGP %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdpal -O0 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s +; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX90A-TGSPLIT %s +; RUN: llc -mtriple=amdgpu9.42-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.42-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX942-TGSPLIT %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX11-WGP %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX12-WGP %s +; RUN: llc -mtriple=amdgpu12.00-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s +; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX1250 %s define amdgpu_kernel void @singlethread_acquire_fence() #0 { ; GFX6-LABEL: singlethread_acquire_fence: diff --git a/llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll b/llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll index 7cd080dc05e98..c26729e23a743 100644 --- a/llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll +++ b/llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll @@ -1,17 +1,17 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx700 < %s | FileCheck --check-prefixes=GFX7 %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 < %s | FileCheck --check-prefixes=GFX10-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdpal -O0 -mcpu=gfx700 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx90a | FileCheck -check-prefixes=GFX90A-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s -; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx942 | FileCheck -check-prefixes=GFX942-TGSPLIT %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 < %s | FileCheck --check-prefixes=GFX11-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX11-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 < %s | FileCheck --check-prefixes=GFX12-WGP %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1200 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX12-CU %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -O0 -mcpu=gfx1250 < %s | FileCheck --check-prefixes=GFX1250 %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX7 %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 < %s | FileCheck --check-prefixes=GFX10-WGP %s +; RUN: llc -mtriple=amdgpu10.10-amd-amdhsa -O0 -mattr=+cumode < %s | FileCheck --check-prefixes=GFX10-CU %s +; RUN: llc -mtriple=amdgpu7.00-amd-amdpal -O0 -amdgcn-skip-cache-invalidations < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s +; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX90A-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.0a-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX90A-TGSPLIT %s +; RUN: llc -mtriple=amdgpu9.42-amd-amdhsa -O0 < %s | FileCheck -check-prefixes=GFX942-NOTTGSPLIT %s +; RUN: sed 's/attributes #0 = { nounwind }/attributes #0 = { nounwind "amdgpu-tg-split" }/' %s | llc -mtriple=amdgpu9.42-amd-amdhsa -O0 | FileCheck -check-prefixes=GFX942-TGSPLIT %s +; RUN: llc -mtriple=amdgpu11.00-amd-amdhsa -O0 ... [truncated] `````````` </details> https://github.com/llvm/llvm-project/pull/209486 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
