Skip to content

Commit

Permalink
[Test] Drop 'sycldevice' from IR modules' triple information
Browse files Browse the repository at this point in the history
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, producing IR files for tests should use the simplified
target triple. Clean up the existing tests to match this change.

Signed-off-by: Artem Gindinson <artem.gindinson@intel.com>
  • Loading branch information
Artem Gindinson committed Sep 1, 2021
1 parent 894f95b commit 687ae8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/lower-non-standard-types.ll
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
; ModuleID = 'lower-non-standard-types'
source_filename = "lower-non-standard-types.cpp"
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"
target triple = "spir64-unknown-unknown-sycldevice"
target triple = "spir64-unknown-unknown"

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

Expand Down
2 changes: 1 addition & 1 deletion test/lower-non-standard-vec-with-ext.ll
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

; ModuleID = 'lower-non-standard-vec-with-ext'
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"
target triple = "spir64-unknown-unknown-sycldevice"
target triple = "spir64-unknown-unknown"

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

Expand Down
4 changes: 2 additions & 2 deletions test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
; 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)


; ModuleID = 'joint_matrix_test-sycl-spir64-unknown-unknown-sycldevice.bc'
; ModuleID = 'joint_matrix_test-sycl-spir64-unknown-unknown.bc'
source_filename = "./joint_matrix_test.cpp"
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"
target triple = "spir64-unknown-unknown-sycldevice"
target triple = "spir64-unknown-unknown"

%"struct._ZTSN5__spv24__spirv_JointMatrixINTELIsLm2ELm2ELNS_12MatrixLayoutE0ELNS_5Scope4FlagE3EEE.__spv::__spirv_JointMatrixINTEL" = type opaque
%"struct._ZTSN5__spv24__spirv_JointMatrixINTELIaLm2ELm16ELNS_12MatrixLayoutE0ELNS_5Scope4FlagE3EEE.__spv::__spirv_JointMatrixINTEL" = type opaque
Expand Down

0 comments on commit 687ae8c

Please sign in to comment.