Skip to content

Commit

Permalink
[NFC] [clang][SPIR-V] Use AMDGPU prefix to avoid confusion (#96962)
Browse files Browse the repository at this point in the history
Reusing prefix SPIRV64 while adding an useless(and wrong) line
AMDGPUSPIRV64 is confusing.

Update it by copying SPIRV64 line to AMDGPU line.
  • Loading branch information
jsji authored and sys-ce-bb committed Jul 2, 2024
1 parent f48bae2 commit 15eb8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/CodeGen/target-data.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 15eb8cf

Please sign in to comment.