Skip to content

Commit e052082

Browse files
KornevNikitavmaksimo
authored andcommitted
Remove sycldevice target triple from tests
This is a patch to update tests in scope of patch intel#3929 that removes sycldevice triple environment component, so this triple should be also removed from tests. Original commit: KhronosGroup/SPIRV-LLVM-Translator@36ee44b
1 parent 073f287 commit e052082

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+46
-46
lines changed

llvm-spirv/test/DebugInfo/RecursiveDebugInfo.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
; CHECK: [[FNC_TY1]] = !DIDerivedType(tag: DW_TAG_typedef, name: "vec_it", {{.+}}, baseType: [[IT_VEC]])
5353

5454
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
55-
target triple = "spir64-unknown-unknown-sycldevice"
55+
target triple = "spir64-unknown-unknown"
5656

5757
%"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" = type { i8 }
5858
%struct._ZTS8iteratorI6vectorE.iterator = type { i32 addrspace(4)* }

llvm-spirv/test/SpecConstants/bool-spirv-specconstant.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
; CHECK: Select [[#]] [[#]] [[#BOOL_CONST]]
1010

1111
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"
12-
target triple = "spir64-unknown-unknown-sycldevice"
12+
target triple = "spir64-unknown-unknown"
1313

1414
%"class._ZTSN2cl4sycl5rangeILi1EEE.cl::sycl::range" = type { %"class._ZTSN2cl4sycl6detail5arrayILi1EEE.cl::sycl::detail::array" }
1515
%"class._ZTSN2cl4sycl6detail5arrayILi1EEE.cl::sycl::detail::array" = type { [1 x i64] }

llvm-spirv/test/SpecConstants/long-spec-const-composite.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
; RUN: not llvm-spirv %t.bc -o %t.spv 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
1010

1111
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"
12-
target triple = "spir64-unknown-unknown-sycldevice"
12+
target triple = "spir64-unknown-unknown"
1313

1414
; CHECK-SPIRV: Capability LongConstantCompositeINTEL
1515
; CHECK-SPIRV: Extension "SPV_INTEL_long_constant_composite"

llvm-spirv/test/custom_class.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
; ModuleID = 'custom_class.ll'
3030
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"
31-
target triple = "spir64-unknown-linux-sycldevice"
31+
target triple = "spir64-unknown-linux"
3232

3333
%class._ZTS11CustomClass.CustomClass = type { i32 }
3434
%"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" = type { i8 }

llvm-spirv/test/llvm-intrinsics/abs.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
; CHECK: ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} s_abs
99

1010
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"
11-
target triple = "spir64-unknown-linux-sycldevice"
11+
target triple = "spir64-unknown-linux"
1212

1313
; Function Attrs: norecurse nounwind readnone
1414
define dso_local spir_kernel void @test(i32 %a, <4 x i32> %b) local_unnamed_addr #0 !kernel_arg_buffer_location !5 {

llvm-spirv/test/llvm-intrinsics/constrained-arithmetic.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
; CHECK: FRem
2929

3030
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"
31-
target triple = "spir64-unknown-linux-sycldevice"
31+
target triple = "spir64-unknown-linux"
3232

3333
; Function Attrs: norecurse nounwind strictfp
3434
define dso_local spir_kernel void @test(float %a, i32 %in, i32 %ui) local_unnamed_addr #0 !kernel_arg_addr_space !5 !kernel_arg_access_qual !6 !kernel_arg_type !7 !kernel_arg_base_type !7 !kernel_arg_type_qual !8 !kernel_arg_buffer_location !9 {

llvm-spirv/test/llvm-intrinsics/constrained-comparison.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
;CHECK: Unordered
2020

2121
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"
22-
target triple = "spir64-unknown-linux-sycldevice"
22+
target triple = "spir64-unknown-linux"
2323

2424
; Function Attrs: norecurse nounwind strictfp
2525
define dso_local spir_kernel void @test(float %a) local_unnamed_addr #0 !kernel_arg_addr_space !5 !kernel_arg_access_qual !6 !kernel_arg_type !7 !kernel_arg_base_type !7 !kernel_arg_type_qual !8 !kernel_arg_buffer_location !9 {

llvm-spirv/test/llvm-intrinsics/constrained-convert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
;CHECK: FConvert {{[0-9]+}} [[ft]]
2828

2929
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"
30-
target triple = "spir64-unknown-linux-sycldevice"
30+
target triple = "spir64-unknown-linux"
3131

3232
; Function Attrs: norecurse nounwind strictfp
3333
define dso_local spir_kernel void @test(float %a, i32 %in, i32 %ui) local_unnamed_addr #0 !kernel_arg_addr_space !5 !kernel_arg_access_qual !6 !kernel_arg_type !7 !kernel_arg_base_type !7 !kernel_arg_type_qual !8 !kernel_arg_buffer_location !9 {

llvm-spirv/test/llvm-intrinsics/ctpop.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
; CHECK: BitCount {{[0-9]+}} {{[0-9]+}} {{[0-9]+}}
1212

1313
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"
14-
target triple = "spir64-unknown-linux-sycldevice"
14+
target triple = "spir64-unknown-linux"
1515

1616
; Function Attrs: norecurse nounwind readnone
1717
define dso_local spir_kernel void @test(i8 %x8, i16 %x16, i32 %x32, i64 %x64, <2 x i32> %x2i32) local_unnamed_addr #0 !kernel_arg_buffer_location !5 {

llvm-spirv/test/llvm-intrinsics/invariant.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
source_filename = "<stdin>"
1111
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
12-
target triple = "spir64-unknown-linux-sycldevice"
12+
target triple = "spir64-unknown-linux"
1313

1414
@WGSharedVar = internal addrspace(3) constant i64 0, align 8
1515

0 commit comments

Comments
 (0)