[llvm] [SPIR-V] Include SPIRV-Tools tests in CI (PR #80479)
Natalie Chouinard via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 11:31:59 PST 2024
https://github.com/sudonatalie created https://github.com/llvm/llvm-project/pull/80479
None
>From 3cb94246b0fc1ca47ad90727e93007cde359482d Mon Sep 17 00:00:00 2001
From: Natalie Chouinard <chouinard at google.com>
Date: Fri, 2 Feb 2024 19:28:05 +0000
Subject: [PATCH 1/2] [SPIR-V] Include SPIRV-Tools tests in CI
---
.github/workflows/spirv-tests.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/spirv-tests.yml b/.github/workflows/spirv-tests.yml
index 0e1d0caca410c..75918e73e8973 100644
--- a/.github/workflows/spirv-tests.yml
+++ b/.github/workflows/spirv-tests.yml
@@ -25,5 +25,5 @@ jobs:
with:
build_target: check-llvm-codegen-spirv
projects:
- extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV"'
+ extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
os_list: '["ubuntu-latest"]'
>From b6c237639b0847607a7c3f42bdb7c0e5a8e96a36 Mon Sep 17 00:00:00 2001
From: Natalie Chouinard <chouinard at google.com>
Date: Fri, 2 Feb 2024 19:31:11 +0000
Subject: [PATCH 2/2] [DO NOT SUBMIT] Make the bot fail so I know these lines
are running
---
llvm/test/CodeGen/SPIRV/basic_float_types.ll | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/CodeGen/SPIRV/basic_float_types.ll b/llvm/test/CodeGen/SPIRV/basic_float_types.ll
index 1c7a8a851f59c..1df14a932eebf 100644
--- a/llvm/test/CodeGen/SPIRV/basic_float_types.ll
+++ b/llvm/test/CodeGen/SPIRV/basic_float_types.ll
@@ -1,7 +1,7 @@
; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
-; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val | not %}
define void @main() {
entry:
More information about the llvm-commits
mailing list