[llvm] [SPIRV] Support -fembed-bitcode=marker for non-shader modules (PR #162082)

Marcos Maronas via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 12:02:07 PDT 2025


Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/162082 at github.com>


================
@@ -0,0 +1,22 @@
+; RUN: llc -verify-machineinstrs -mtriple=spirv-vulkan-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
----------------
maarquitos14 wrote:

```suggestion
; RUN: %if spirv-tools %{ llc -mtriple=spirv-vulkan-unknown %s -o - -filetype=obj | spirv-val %}
```

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


More information about the llvm-commits mailing list