[llvm] [DirectX][ShaderFlags] Add analysis for `WaveOps` flag (PR #118140)

Joshua Batista via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 12:10:02 PST 2025


================
@@ -0,0 +1,79 @@
+; RUN: opt -S --passes="print-dx-shader-flags" 2>&1 %s | FileCheck %s
+;
+; CHECK: ; Shader Flags Value: [[WAVE_FLAG:0x00080000]]
+; CHECK: ; Note: shader requires additional functionality:
+; CHECK-NEXT: ;       Wave level operations
+; CHECK-NEXT: ; Note: extra DXIL module flags:
+; CHECK-NEXT: {{^;$}}
----------------
bob80905 wrote:

Can you explain what this check does?

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


More information about the llvm-commits mailing list