[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveMax` intrinsic (PR #123428)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 07:20:49 PST 2025


================
@@ -0,0 +1,55 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv-vulkan-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-unknown %s -o - -filetype=obj | spirv-val %}
+
+; Test lowering to spir-v backend for various types and scalar/vector
+
----------------
s-perron wrote:

Please check the capabilities as well:

```suggestion

; CHECK: OpCapability GroupNonUniformArithmetic 
```

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


More information about the llvm-commits mailing list