Skip to content

Commit 0a1f59c

Browse files
Artem GindinsonMrSidims
Artem Gindinson
authored andcommitted
[Test] Drop 'sycldevice' from IR modules' triple information
Recent changes in the DPC++ compiler (intel/llvm#3929) allow to disregard the `sycldevice` component from the target triple in command lines. From there on, IR files for the Translator tests should be produced using the simplified target triple. Clean up the existing tests to match this change. Signed-off-by: Artem Gindinson <artem.gindinson@intel.com>
1 parent 894f95b commit 0a1f59c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/lower-non-standard-types.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
; ModuleID = 'lower-non-standard-types'
1616
source_filename = "lower-non-standard-types.cpp"
1717
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"
18-
target triple = "spir64-unknown-unknown-sycldevice"
18+
target triple = "spir64-unknown-unknown"
1919

2020
@Id = external dso_local local_unnamed_addr addrspace(1) constant <3 x i64>, align 32
2121

test/lower-non-standard-vec-with-ext.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
; ModuleID = 'lower-non-standard-vec-with-ext'
66
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"
7-
target triple = "spir64-unknown-unknown-sycldevice"
7+
target triple = "spir64-unknown-unknown"
88

99
@Id = external dso_local local_unnamed_addr addrspace(1) constant <3 x i64>, align 32
1010

test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
; CHECK-LLVM: call spir_func void @_Z29__spirv_JointMatrixStoreINTELPU3AS4sPU3AS139__spirv_JointMatrixINTEL__short_2_2_0_3liii(i16 addrspace(4)* [[CPtr]], %spirv.JointMatrixINTEL._short_2_2_0_3 addrspace(1)* [[C]], i64 [[Stride]], i32 0, i32 3, i32 0)
5656

5757

58-
; ModuleID = 'joint_matrix_test-sycl-spir64-unknown-unknown-sycldevice.bc'
58+
; ModuleID = 'joint_matrix_test-sycl-spir64-unknown-unknown.bc'
5959
source_filename = "./joint_matrix_test.cpp"
6060
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"
61-
target triple = "spir64-unknown-unknown-sycldevice"
61+
target triple = "spir64-unknown-unknown"
6262

6363
%"struct._ZTSN5__spv24__spirv_JointMatrixINTELIsLm2ELm2ELNS_12MatrixLayoutE0ELNS_5Scope4FlagE3EEE.__spv::__spirv_JointMatrixINTEL" = type opaque
6464
%"struct._ZTSN5__spv24__spirv_JointMatrixINTELIaLm2ELm16ELNS_12MatrixLayoutE0ELNS_5Scope4FlagE3EEE.__spv::__spirv_JointMatrixINTEL" = type opaque

0 commit comments

Comments
 (0)