llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-amdgpu

Author: Matt Arsenault (arsenm)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/243636.diff


7 Files Affected:

- (modified) clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c (+1-1) 
- (modified) clang/test/CodeGenCUDA/device-dynamic-cast-void.cu (+1-1) 
- (modified) clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp (+10-10) 
- (modified) clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl 
(+2-2) 
- (modified) 
llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sbfx-knownbits.mir 
(+1-1) 
- (modified) llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine-cmp.ll 
(+3-3) 
- (modified) llvm/test/MC/AMDGPU/buffer-op-lds-operand.s (+1-1) 


``````````diff
diff --git a/clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c 
b/clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
index 9ae0e88a27a6a7..19a634e3d12c78 100644
--- a/clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
+++ b/clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
@@ -1,7 +1,7 @@
 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py 
UTC_ARGS: --version 6
 // REQUIRES: amdgpu-registered-target
 // RUN: %clang_cc1 %s -emit-llvm -O0 -o - \
-// RUN:   -triple=amdgcn-amd-amdhsa -std=c23 | FileCheck %s
+// RUN:   -triple=amdgpu9.00-amd-amdhsa -std=c23 | FileCheck %s
 
 // Test that [[clang::amdgpu_av("none")]] works with _Atomic type
 // qualifier operations, which go through CGExprScalar and CGAtomic
diff --git a/clang/test/CodeGenCUDA/device-dynamic-cast-void.cu 
b/clang/test/CodeGenCUDA/device-dynamic-cast-void.cu
index 199d683470e069..05d8e4f8a726b4 100644
--- a/clang/test/CodeGenCUDA/device-dynamic-cast-void.cu
+++ b/clang/test/CodeGenCUDA/device-dynamic-cast-void.cu
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 -triple nvptx64-nvidia-cuda -fcuda-is-device -emit-llvm \
 // RUN:     -o - %s | FileCheck %s --implicit-check-not=_ZTI \
 // RUN:     --implicit-check-not=__dynamic_cast
-// RUN: %clang_cc1 -x hip -triple amdgcn-amd-amdhsa -fcuda-is-device \
+// RUN: %clang_cc1 -x hip -triple amdgpu9.00-amd-amdhsa -fcuda-is-device \
 // RUN:     -emit-llvm -o - %s | FileCheck %s --implicit-check-not=_ZTI \
 // RUN:     --implicit-check-not=__dynamic_cast
 
diff --git a/clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp 
b/clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp
index 69ad4eda21cf3c..d37843d484adff 100644
--- a/clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp
+++ b/clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp
@@ -1,51 +1,51 @@
 // REQUIRES: amdgpu-registered-target
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - -DREACHABLE %s 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=REACHABLE
-// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -emit-llvm -o - -DTRY_CATCH %s \
 // RUN:   | FileCheck %s --check-prefix=TRY-IR
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu \
-// RUN:   -aux-triple amdgcn-amd-amdhsa --hipstdpar -x hip \
+// RUN:   -aux-triple amdgpu9-amd-amdhsa --hipstdpar -x hip \
 // RUN:   -fcxx-exceptions -fexceptions -emit-llvm -o - -DTRY_CATCH %s \
 // RUN:   | FileCheck %s --check-prefix=HOST-IR
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - -DTRY_CATCH %s 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=TRY-CATCH
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - -DFUNCTION_TRY %s 
2>&1 \
 // RUN:   | FileCheck %s --check-prefix=FUNCTION-TRY
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - \
 // RUN:   -DCONSTRUCTOR_FUNCTION_TRY %s 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=CONSTRUCTOR-FUNCTION-TRY
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - \
 // RUN:   -DDESTRUCTOR_FUNCTION_TRY %s 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=DESTRUCTOR-FUNCTION-TRY
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - -DBAD_CAST %s 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=BAD-CAST
-// RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: not %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - -DBAD_TYPEID %s 2>&1 
\
 // RUN:   | FileCheck %s --check-prefix=BAD-TYPEID
-// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa \
+// RUN: %clang_cc1 -triple amdgpu9-amd-amdhsa \
 // RUN:   -aux-triple x86_64-unknown-linux-gnu --hipstdpar -x hip \
 // RUN:   -fcuda-is-device -fcxx-exceptions -fexceptions \
 // RUN:   -mllvm -amdgpu-enable-hipstdpar -emit-llvm -o - %s \
diff --git a/clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl 
b/clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
index ee6794b63e1df7..440c8dca827847 100644
--- a/clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
+++ b/clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
@@ -1,6 +1,6 @@
 // REQUIRES: amdgpu-registered-target
-// RUN: %clang -cl-std=CL2.0 -emit-llvm -g -O0 -S -nogpulib -target 
amdgcn-amd-amdhsa -mcpu=fiji -o - %s | FileCheck %s
-// RUN: %clang -cl-std=CL2.0 -emit-llvm -g -O0 -S -nogpulib -target 
amdgcn-amd-amdhsa -mcpu=fiji -o - %s | FileCheck %s
+// RUN: %clang -cl-std=CL2.0 -emit-llvm -g -O0 -S -nogpulib -target 
amdgpu8.03-amd-amdhsa -o - %s | FileCheck %s
+// RUN: %clang -cl-std=CL2.0 -emit-llvm -g -O0 -S -nogpulib -target 
amdgpu8.03-amd-amdhsa -o - %s | FileCheck %s
 
 // CHECK-DAG: ![[FILEVAR0:[0-9]+]] = distinct !DIGlobalVariable(name: 
"FileVar0", scope: !{{[0-9]+}}, file: !{{[0-9]+}}, line: {{[0-9]+}}, type: 
!{{[0-9]+}}, isLocal: false, isDefinition: true)
 // CHECK-DAG: !DIGlobalVariableExpression(var: ![[FILEVAR0]], expr: 
!DIExpression())
diff --git 
a/llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sbfx-knownbits.mir 
b/llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sbfx-knownbits.mir
index 9b6aa10d3f5090..16280b3cd8cdb9 100644
--- 
a/llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sbfx-knownbits.mir
+++ 
b/llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sbfx-knownbits.mir
@@ -1,5 +1,5 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 
UTC_ARGS: --version 6
-# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 
-run-pass=amdgpu-prelegalizer-combiner %s -o - | FileCheck %s
+# RUN: llc -mtriple=amdgpu11.00-amd-amdhsa 
-run-pass=amdgpu-prelegalizer-combiner %s -o - | FileCheck %s
 
 # The offset and width operands of G_SBFX are unsigned. An i1 width of 1 must
 # not be read as -1 when the compare is folded with known bits.
diff --git a/llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine-cmp.ll 
b/llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine-cmp.ll
index 79107587c021e9..330e65a16c882d 100644
--- a/llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine-cmp.ll
+++ b/llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine-cmp.ll
@@ -1,6 +1,6 @@
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -passes=amdgpu-uniform-intrinsic-combine 
-S < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -O3 -S < %s | FileCheck %s 
--check-prefix=O3
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 
-amdgpu-enable-uniform-intrinsic-combine=0 -O3 -S < %s | FileCheck %s 
--check-prefix=COMBINE-OFF
+; RUN: opt -mtriple=amdgpu-amd-amdhsa -passes=amdgpu-uniform-intrinsic-combine 
-S < %s | FileCheck %s
+; RUN: opt -mtriple=amdgpu12.50-amd-amdhsa -O3 -S < %s | FileCheck %s 
--check-prefix=O3
+; RUN: opt -mtriple=amdgpu12.50-amd-amdhsa 
-amdgpu-enable-uniform-intrinsic-combine=0 -O3 -S < %s | FileCheck %s 
--check-prefix=COMBINE-OFF
 
 declare i32 @llvm.amdgcn.readfirstlane.i32(i32)
 declare i32 @llvm.amdgcn.workitem.id.x()
diff --git a/llvm/test/MC/AMDGPU/buffer-op-lds-operand.s 
b/llvm/test/MC/AMDGPU/buffer-op-lds-operand.s
index 9f8f38cad53c62..edb6a6081e619b 100644
--- a/llvm/test/MC/AMDGPU/buffer-op-lds-operand.s
+++ b/llvm/test/MC/AMDGPU/buffer-op-lds-operand.s
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx950 --show-inst < %s | 
FileCheck %s
+// RUN: llvm-mc -triple=amdgpu9.50-amd-amdhsa --show-inst < %s | FileCheck %s
 
 // CHECK: .amdgcn_target "amdgcn-amd-amdhsa-unknown-gfx950"
 buffer_load_dword off, s[8:11], 0 lds

``````````

</details>


https://github.com/llvm/llvm-project/pull/243636
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to