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

Sarah Spall via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 10:40:37 PDT 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
+
+define noundef i32 @firstbituhigh_i32(i32 noundef %a) {
----------------
spall wrote:

Yes I saw I am working on fixing it.

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


More information about the llvm-commits mailing list