================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to