File tree Expand file tree Collapse file tree 11 files changed +11
-20
lines changed
EXT/SPV_EXT_relaxed_printf_string_address_space
INTEL/SPV_INTEL_fpga_cluster_attributes Expand file tree Collapse file tree 11 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 18
18
; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt --spirv-ext=+SPV_EXT_relaxed_printf_string_address_space
19
19
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
20
20
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+SPV_EXT_relaxed_printf_string_address_space
21
- ; Change TODO to RUN when spirv-val allows non-constant printf formats
22
- ; TODO: spirv-val %t.spv
21
+ ; RUN: spirv-val %t.spv
23
22
24
23
25
24
; CHECK-WO-EXT: RequiresExtension: Feature requires the following SPIR-V extension:
Original file line number Diff line number Diff line change 1
1
; RUN: llvm-as %s -o %t.bc
2
2
; RUN: llvm-spirv --spirv-ext=+SPV_INTEL_fpga_cluster_attributes -spirv-text -o - %t.bc | FileCheck --check-prefix CHECK-SPIRV %s
3
3
; RUN: llvm-spirv --spirv-ext=+SPV_INTEL_fpga_cluster_attributes %t.bc -o %t.spv
4
- ; spirv-val %t.spv
4
+ ; RUN: spirv-val %t.spv
5
5
; RUN: llvm-spirv -r --spirv-ext=+SPV_INTEL_fpga_cluster_attributes %t.spv -o %t.rev.bc
6
6
; RUN: llvm-dis %t.rev.bc -o - | FileCheck --check-prefix CHECK-LLVM %s
7
7
Original file line number Diff line number Diff line change 2
2
// RUN: %clang_cc1 -triple spir-unknown-unknown -O1 -cl-std=CL2.0 -fdeclare-opencl-builtins -finclude-default-header -emit-llvm-bc %s -o %t.bc
3
3
// RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_shader_clock -o %t.spv
4
4
// RUN: spirv-dis %t.spv -o - | FileCheck %s --check-prefix=CHECK-SPIRV
5
- // TODO : spirv-val %t.spv
5
+ // RUN : spirv-val %t.spv
6
6
// RUN: llvm-spirv -r %t.spv -o %t.rev.bc
7
7
// RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
8
8
// RUN: llvm-spirv -r --spirv-target-env=SPV-IR %t.spv -o %t.rev.bc
Original file line number Diff line number Diff line change 1
1
; RUN: llvm-as %s -o %t.bc
2
2
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv
3
- ; TODO: enable back once spirv-tools are updated.
4
- ; R/UN: spirv-val %t.spv
3
+ ; RUN: spirv-val %t.spv
5
4
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -spirv-text -o %t.spt
6
5
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
7
6
Original file line number Diff line number Diff line change 4
4
5
5
; RUN: llvm-as %s -o %t.bc
6
6
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv
7
- ; TODO: enable back once spirv-tools are updated.
8
- ; R/UN: spirv-val %t.spv
7
+ ; RUN: spirv-val %t.spv
9
8
10
9
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -spirv-text -o %t.spt
11
10
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
Original file line number Diff line number Diff line change 7
7
8
8
; RUN: llvm-as %s -o %t.bc
9
9
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv
10
- ; TODO: enable back once spirv-tools are updated.
11
- ; R/UN: spirv-val %t.spv
10
+ ; RUN: spirv-val %t.spv
12
11
13
12
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -spirv-text -o %t.spt
14
13
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
Original file line number Diff line number Diff line change 1
1
; RUN: llvm-as %s -o %t.bc
2
2
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+SPV_KHR_untyped_pointers
3
3
4
- ; TODO: enable back once spirv-tools are updated
5
- ; R/UN: spirv-val %t.spv
4
+ ; RUN: spirv-val %t.spv
6
5
7
6
; RUN: llvm-spirv %t.spv -o %t.spt --to-text
8
7
; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
Original file line number Diff line number Diff line change 8
8
9
9
; Verify that we have valid SPV and the same output LLVM IR when using untyped pointers.
10
10
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv
11
- ; TODO: enable back once spirv-tools are updated.
12
- ; R/UN: spirv-val %t.spv
11
+ ; RUN: spirv-val %t.spv
13
12
; RUN: llvm-spirv -r %t.spv -o %t.spv.bc
14
13
; RUN: llvm-dis < %t.spv.bc | FileCheck %s --check-prefix=CHECK-LLVM
15
14
Original file line number Diff line number Diff line change 3
3
// RUN: %clang_cc1 -triple spir-unknown-unknown -emit-llvm-bc %s -o %t.bc
4
4
// RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
5
5
// RUN: llvm-spirv %t.bc -o %t.spv
6
- // Change TODO to RUN when spirv-val allows array of 8-bit ints for format
7
- // TODO: spirv-val %t.spv
6
+ // RUN: spirv-val %t.spv
8
7
// RUN: llvm-spirv -r %t.spv -o %t.rev.bc
9
8
// RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
10
9
Original file line number Diff line number Diff line change 3
3
// RUN: %clang_cc1 -triple spir-unknown-unknown -emit-llvm-bc %s -o %t.bc -finclude-default-header
4
4
// RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
5
5
// RUN: llvm-spirv %t.bc -o %t.spv
6
- // Change TODO to RUN when spirv-val allows array of 8-bit ints for format
7
- // TODO: spirv-val %t.spv
6
+ // RUN: spirv-val %t.spv
8
7
// RUN: llvm-spirv -r %t.spv -o %t.rev.bc
9
8
// RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
10
9
Original file line number Diff line number Diff line change 9
9
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
10
10
11
11
; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_untyped_pointers -o %t.spv
12
- ; TODO: enable back once spirv-tools are updated.
13
- ; R/UN: spirv-val %t.spv
12
+ ; RUN: spirv-val %t.spv
14
13
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
15
14
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM
16
15
You can’t perform that action at this time.
0 commit comments