[llvm] [SPIR-V] Add pre-headers to loops. (PR #75844)

Natalie Chouinard via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 08:31:35 PST 2024


Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/75844 at github.com>


================
@@ -0,0 +1,67 @@
+; RUN: llc -mtriple=spirv-unknown-unknown -O0 %s -o - | FileCheck %s
----------------
sudonatalie wrote:

Assuming this is a simple case that's already structured and validates, can you add a RUN line for `spirv-val`?

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

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


More information about the llvm-commits mailing list