[llvm] [SPIR-V] Emit DebugTypeBasic for NonSemantic DI (PR #106980)
Vyacheslav Levytskyy via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 04:54:53 PDT 2024
================
@@ -0,0 +1,232 @@
+; RUN: llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info --print-after=spirv-nonsemantic-debug-info -O0 -mtriple=spirv64-unknown-unknown %s -o - 2>&1 | FileCheck %s --check-prefix=CHECK-MIR
+; RUN: llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
+; RUN: llc --verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_non_semantic_info %s -o - | FileCheck %s --check-prefix=CHECK-OPTION
+; RUN: %if spirv-tools %{ llc --spirv-ext=+SPV_KHR_non_semantic_info -O0 -mtriple=spirv64-unknown-unknown %s -o - -filetype=obj | spirv-val %}
----------------
VyacheslavLevytskyy wrote:
Do you need to add `--spv-emit-nonsemantic-debug-info` command line argument here to let `spirv-val` checking the emitted debug info?
https://github.com/llvm/llvm-project/pull/106980
More information about the llvm-commits
mailing list