[llvm] [RFC][SPIR-V] Add llvm.arbitrary.fp.convert intrinsic (PR #164252)

Marcos Maronas via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 28 12:09:39 PDT 2025


================
@@ -0,0 +1,66 @@
+; RUN: split-file %s %t
+; RUN: not opt -S -passes=verify %t/bad-result.ll 2>&1 | FileCheck %s --check-prefix=BADRESULT
+; RUN: not opt -S -passes=verify %t/bad-rounding.ll 2>&1 | FileCheck %s --check-prefix=BADROUND
+; RUN: not opt -S -passes=verify %t/bad-saturation.ll 2>&1 | FileCheck %s --check-prefix=BADSAT
+; RUN: opt -S -passes=verify %t/good.ll
+
+;--- bad-result.ll
+; BADRESULT: result interpretation metadata string must not be empty
----------------
maarquitos14 wrote:

Should we check also for input interpretation metadata? 

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


More information about the llvm-commits mailing list