[clang] [llvm] [SPIRV][HLSL] Add lowering of `rsqrt` to SPIRV (PR #95849)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 15:05:31 PDT 2024


================
@@ -0,0 +1,29 @@
+; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
+
+; CHECK: OpExtInstImport "GLSL.std.450"
----------------
farzonl wrote:

make this: `; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"`

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


More information about the llvm-commits mailing list