[clang] [llvm] Adding splitdouble HLSL function (PR #109331)
Tex Riddell via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 18 17:52:20 PDT 2024
================
@@ -0,0 +1,50 @@
+; RUN: llc -verify-machineinstrs -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 %}
+
+; Make sure lowering is correctly generating spirv code.
----------------
tex3d wrote:
This just tests SPIR-V lowering of the code you expect to generate from the HLSL. It doesn't actually test that the `CGBuiltin.cpp` code generates this IR for the SPIR-V path. I think we are missing a test for that.
https://github.com/llvm/llvm-project/pull/109331
More information about the cfe-commits
mailing list