From 687ae8c1f229ee83623cc76496e6ce1eea56ebe5 Mon Sep 17 00:00:00 2001 From: Artem Gindinson Date: Wed, 1 Sep 2021 21:03:05 +0300 Subject: [PATCH] [Test] Drop 'sycldevice' from IR modules' triple information Recent changes in the DPC++ compiler (https://github.com/intel/llvm/pull/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 --- test/lower-non-standard-types.ll | 2 +- test/lower-non-standard-vec-with-ext.ll | 2 +- test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/lower-non-standard-types.ll b/test/lower-non-standard-types.ll index 9767be015b..a1b8bf5040 100644 --- a/test/lower-non-standard-types.ll +++ b/test/lower-non-standard-types.ll @@ -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 diff --git a/test/lower-non-standard-vec-with-ext.ll b/test/lower-non-standard-vec-with-ext.ll index 711ca17858..fe4a1fe1f2 100644 --- a/test/lower-non-standard-vec-with-ext.ll +++ b/test/lower-non-standard-vec-with-ext.ll @@ -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 diff --git a/test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll b/test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll index aa66c08efe..5106cab78c 100644 --- a/test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll +++ b/test/transcoding/SPV_INTEL_joint_matrix/joint_matrix.ll @@ -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