[PATCH 44/79] [NFC][DebugInfo] Rewrite NonSemantic/DebugInfoProducer test
authorViktoria Maximova <viktoria.maksimova@intel.com>
Fri, 28 Apr 2023 14:29:16 +0000 (07:29 -0700)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
There is a bug in -r -spirv-text mode in translation of Strings with spaces.
Temporary avoid running such pipeline until proper fix is delivered.

Gbp-Pq: Name 0044-NFC-DebugInfo-Rewrite-NonSemantic-DebugInfoProducer-.patch

test/DebugInfo/NonSemantic/DebugInfoProducer.ll

index 9de3cc59864e7f04c1ed877319a41b86992b9bfa..49a894f625faf33f9d5244e9933d46b5b5c9bacb 100644 (file)
@@ -20,7 +20,8 @@
 ; Check that we don't produce "producer" info for NonSemantic.Shader.DebugInfo.100 as it's not specification conformant
 ; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -spirv-text -o %t.spt
 ; RUN: FileCheck %s --input-file %t.spt --check-prefix CHECK-SPIRV-100
-; RUN: llvm-spirv -spirv-text -r -emit-opaque-pointers %t.spt -o %t.rev.bc
+; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spv
+; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
 ; RUN: llvm-dis %t.rev.bc -o - | FileCheck %s --check-prefix CHECK-LLVM-100
 
 ; ModuleID = 's.bc'