[llvm] [SPIRV] Frexp intrinsic implementation (PR #157436)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 11 09:58:19 PDT 2025


================
@@ -0,0 +1,114 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown %s -o - -filetype=obj | spirv-val %}
+
+; CHECK: %[[#extinst_id:]] = OpExtInstImport "OpenCL.std"
+; CHECK: %[[#float_32_type:]] = OpTypeFloat 32
+; CHECK: %[[#int_32_type:]] = OpTypeInt 32 0
----------------
EbinJose2002 wrote:

I have updated the test to use CHECK-DAG for checks related to OpType, etc.

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


More information about the llvm-commits mailing list