[PATCH 17/66] Update spirv-as invocations (#1933)
authorDmitry Sidorov <dmitry.sidorov@intel.com>
Fri, 31 Mar 2023 11:40:26 +0000 (13:40 +0200)
committerAndreas Beckmann <anbe@debian.org>
Thu, 3 Aug 2023 09:46:40 +0000 (10:46 +0100)
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.

Co-authored-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Gbp-Pq: Name 0017-Update-spirv-as-invocations-1933.patch

test/GroupAndSubgroupInstructions.spvasm
test/spirv-tools-dis.ll

index 4fef6b3e85834d74fb5fd7ab69ba7f11fb7e55e7..a3990d878e2a3cfa8ff8da683997f368a77aaee8 100644 (file)
@@ -31,7 +31,7 @@
 ; spirv-dis tmp.spv -o llvm-spirv/test/GroupAndSubgroupInstructions.spvasm
 
 ; REQUIRES: spirv-as
-; RUN: spirv-as %s --target-env spv1.0 -o %t.spv
+; RUN: spirv-as %s --target-env spv1.0 -o %t.spv
 ; RUN: spirv-val %t.spv
 ; RUN: llvm-spirv -r %t.spv --spirv-target-env=CL1.2 -o %t.bc
 ; RUN: llvm-dis %t.bc -o %t.ll
index 21409dc335684dd0a0c97bde628201d8d1edca1a..791f5010f6eaebd013cc33f1e16007e2adca04d5 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-as %s -o %t.bc
 ; RUN: llvm-spirv %t.bc --spirv-tools-dis -o - | FileCheck %s
-; RUN: llvm-spirv %t.bc --spirv-tools-dis -o - | spirv-as
+; RUN: llvm-spirv %t.bc --spirv-tools-dis -o - | spirv-as -
 
 ; Verify that the --spirv-tools-dis options results in SPIRV-Tools compatible assembly.