[llvm] [SPIR-V] Support bfloat and double in parseTypeString (PR #201919)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 05:50:10 PDT 2026
================
@@ -1,5 +1,5 @@
-; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
-; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
+; RUN: llc -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_KHR_bfloat16 %s -o - | FileCheck %s
----------------
aobolensk wrote:
As far as I can see in spirv-val implementation, it allows different options explicitly: https://github.com/KhronosGroup/SPIRV-Tools/blob/aff64c5dfd79937ab28c7affa24b9d1c3438c033/source/val/validate_image.cpp#L979-L988 (all kinds of float are technically supported as well)
https://github.com/llvm/llvm-project/pull/201919
More information about the llvm-commits
mailing list