[clang] [llvm] [HLSL] implement elementwise firstbithigh hlsl builtin (PR #111082)

Vyacheslav Levytskyy via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 5 11:52:36 PST 2024


================
@@ -0,0 +1,107 @@
+; 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 %}
+
+; CHECK: OpMemoryModel Logical GLSL450
+; CHECK: [[Z:%.*]] = OpConstant %[[#]] 0
----------------
VyacheslavLevytskyy wrote:

Let's do `CHECK-DAG` 2 times please here, there is no set order between those OpConstant's.

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


More information about the cfe-commits mailing list