Skip to content

Commit 7160516

Browse files
committed
Update spirv-as invocations
After SPIRV-Tools commit 2e0f4b52 ("tools: refactorize tools flags parsing. (#5111)", 2023-02-27), spirv-as needs to be told explicitly when reading from stdin.
1 parent 4911067 commit 7160516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/GroupAndSubgroupInstructions.spvasm

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
; spirv-dis tmp.spv -o llvm-spirv/test/GroupAndSubgroupInstructions.spvasm
3232

3333
; REQUIRES: spirv-as
34-
; RUN: spirv-as < %s --target-env spv1.0 -o %t.spv
34+
; RUN: spirv-as %s --target-env spv1.0 -o %t.spv
3535
; RUN: spirv-val %t.spv
3636
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv --spirv-target-env=CL1.2 -o %t.bc
3737
; RUN: llvm-dis %t.bc -o %t.ll

test/spirv-tools-dis.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as %s -o %t.bc
22
; RUN: llvm-spirv %t.bc --spirv-tools-dis -o - | FileCheck %s
3-
; RUN: llvm-spirv %t.bc --spirv-tools-dis -o - | spirv-as
3+
; RUN: llvm-spirv %t.bc --spirv-tools-dis -o - | spirv-as -
44

55
; Verify that the --spirv-tools-dis options results in SPIRV-Tools compatible assembly.
66

0 commit comments

Comments
 (0)