Skip to content

Commit 7c09be0

Browse files
mateuszchudykjsji
andauthored
[Backport to 15][NFC] Require spirv-as for spvasm tests (#2710) (#2786)
* [Backport to 15][NFC] Require spirv-as for spvasm tests (#2710) * [Backport to 15] Add missing requirement spirv-dis in GroupAndSubgroupInstructions.spvasm test (#2759) * [Backport to 15] Remove redundant requirement spirv-as in tu-member-opaque.spvasm test (#2757) * Remove redundant requirement spirv-as in tu-member-opaque.spvasm test * Correct the tu-member-opaque.spvasm test file extension --------- Co-authored-by: Jinsong Ji <jinsong.ji@intel.com>
1 parent dfd7539 commit 7c09be0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

test/DebugInfo/Generic/tu-member-opaque.spvasm renamed to test/DebugInfo/Generic/tu-member-opaque.spt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
; REQUIRES: spirv-as
2-
31
; RUN: cat %s > %t.spvasm
42
; RUN: llvm-spirv %t.spvasm --to-binary -o %t.spv
53
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis | FileCheck %s

test/GroupAndSubgroupInstructions.spvasm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
; intel_sub_group_block_read(image, coord);
2727
; intel_sub_group_block_write(image, coord, c);
2828
; }
29+
30+
; REQUIRES: spirv-dis
2931
; clang -cc1 -O2 -triple spir -cl-std=cl2.0 -finclude-default-header -cl-ext=+all source.cl -emit-llvm-bc -o tmp.bc
3032
; llvm-spirv tmp.bc --spirv-ext=+all -o tmp.spv
3133
; spirv-dis tmp.spv -o llvm-spirv/test/GroupAndSubgroupInstructions.spvasm

test/extensions/KHR/SPV_KHR_cooperative_matrix/length.spvasm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; REQUIRES: spirv-as
12
; RUN: spirv-as --target-env spv1.0 -o %t.spv %s
23
; RUN: spirv-val %t.spv
34
; RUN: llvm-spirv -r -o - %t.spv | llvm-dis | FileCheck %s

0 commit comments

Comments
 (0)