[llvm] [SPIRV]Added support for extension SPV_INTEL_arbitrary_precision_fixed_point (PR #136085)

Vyacheslav Levytskyy via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 03:05:15 PDT 2025


================
@@ -0,0 +1,387 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_INTEL_arbitrary_precision_fixed_point,+SPV_INTEL_arbitrary_precision_integers %s -o - | FileCheck %s 
----------------
VyacheslavLevytskyy wrote:

It would be hard to maintain such a test case, let's please simplify it to the bare minimum that you need to test your addition to supported SPIR-V extensions. We need to assure that OpFixedXXX are being generated correctly, so it makes sense to have a very short and concise input that leads to generation of OpFixedXXX and check just OpFixedXXX instructions. At the moment the test case contains a lot of unrelated details that would make maintenance harder.

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


More information about the llvm-commits mailing list