[clang] 4713bd4 - [NFC] [clang][SPIR-V] Use AMDGPU prefix to avoid confusion (#96962)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 12:58:14 PDT 2024


Author: Jinsong Ji
Date: 2024-06-28T15:58:11-04:00
New Revision: 4713bd4ccc0c0d568f92916e7851d993291742c0

URL: https://github.com/llvm/llvm-project/commit/4713bd4ccc0c0d568f92916e7851d993291742c0
DIFF: https://github.com/llvm/llvm-project/commit/4713bd4ccc0c0d568f92916e7851d993291742c0.diff

LOG: [NFC] [clang][SPIR-V] Use AMDGPU prefix to avoid confusion (#96962)

Reusing prefix SPIRV64 while adding an useless(and wrong) line
AMDGPUSPIRV64 is confusing.

Update it by copying SPIRV64 line to AMDGPU line.

Added: 
    

Modified: 
    clang/test/CodeGen/target-data.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/target-data.c b/clang/test/CodeGen/target-data.c
index 7f7005d21b99a..9a9fda70226fc 100644
--- a/clang/test/CodeGen/target-data.c
+++ b/clang/test/CodeGen/target-data.c
@@ -269,6 +269,6 @@
 // RUN: FileCheck %s -check-prefix=VE
 // VE: target datalayout = "e-m:e-i64:64-n32:64-S128-v64:64:64-v128:64:64-v256:64:64-v512:64:64-v1024:64:64-v2048:64:64-v4096:64:64-v8192:64:64-v16384:64:64"
 
-// RUN: %clang_cc1 -triple spirv64-amd -o - -emit-llvm %s | \
-// RUN: FileCheck %s -check-prefix=SPIR64
+// RUN: %clang_cc1 -triple spirv64-amd-amdhsa -o - -emit-llvm %s | \
+// RUN: FileCheck %s -check-prefix=AMDGPUSPIRV64
 // AMDGPUSPIRV64: target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-G1-P4-A0"


        


More information about the cfe-commits mailing list