[llvm-branch-commits] [llvm] [WIP][SPIRV][Debug Info] Add support for emitting DebugFunction debug info instructions (PR #183122)

Marcos Maronas via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 26 05:55:52 PST 2026


================
@@ -0,0 +1,40 @@
+; 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
+; RUN: %if spirv-tools %{ llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info -O0 -mtriple=spirv64-unknown-unknown %s -o - -filetype=obj | spirv-val %}
----------------
maarquitos14 wrote:

Also, should we add some negative testing? I.e. checking that errors out when the flags are missing or the extensions are missing.

https://github.com/llvm/llvm-project/pull/183122


More information about the llvm-branch-commits mailing list