[llvm] [NFC][SPIR-V] Remove XFAIL from basic_float_types.ll test (PR #195005)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 22:36:01 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-spir-v

Author: Arseniy Obolenskiy (aobolensk)

<details>
<summary>Changes</summary>

The XFAIL directive without the comment is invalid syntax in LLVM IR. The XFAIL itself introduced in https://github.com/llvm/llvm-project/pull/168428 is redundant as of today, the test is passing without it

---
Full diff: https://github.com/llvm/llvm-project/pull/195005.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/SPIRV/basic_float_types.ll (-3) 


``````````diff
diff --git a/llvm/test/CodeGen/SPIRV/basic_float_types.ll b/llvm/test/CodeGen/SPIRV/basic_float_types.ll
index 6cdc67bbf24ee..6a48d78558409 100644
--- a/llvm/test/CodeGen/SPIRV/basic_float_types.ll
+++ b/llvm/test/CodeGen/SPIRV/basic_float_types.ll
@@ -2,9 +2,6 @@
 ; RUN: llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_bfloat16 %s -o - | FileCheck %s
 ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown --spirv-ext=+SPV_KHR_bfloat16 %s -o - -filetype=obj | spirv-val %}
 
-// TODO: Open bug bfloat16 cannot be stored to.
-XFAIL: *
-
 define void @main() {
 entry:
 

``````````

</details>


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


More information about the llvm-commits mailing list