Skip to content

Commit 4713bd4

Browse files
authored
[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.
1 parent 74852bf commit 4713bd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGen/target-data.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,6 @@
269269
// RUN: FileCheck %s -check-prefix=VE
270270
// 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"
271271

272-
// RUN: %clang_cc1 -triple spirv64-amd -o - -emit-llvm %s | \
273-
// RUN: FileCheck %s -check-prefix=SPIR64
272+
// RUN: %clang_cc1 -triple spirv64-amd-amdhsa -o - -emit-llvm %s | \
273+
// RUN: FileCheck %s -check-prefix=AMDGPUSPIRV64
274274
// 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"

0 commit comments

Comments
 (0)