We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580aa86 commit 8ff1d0fCopy full SHA for 8ff1d0f
llvm/test/CodeGen/DirectX/ShaderFlags/wave-ops.ll
@@ -1,5 +1,8 @@
1
; RUN: opt -S --passes="print-dx-shader-flags" 2>&1 %s | FileCheck %s
2
;
3
+; Test that we have the correct shader flags to indicate that there are wave
4
+; ops set at the module level
5
+;
6
; CHECK: ; Shader Flags Value: [[WAVE_FLAG:0x00080000]]
7
; CHECK: ; Note: shader requires additional functionality:
8
; CHECK-NEXT: ; Wave level operations
@@ -8,6 +11,9 @@
11
9
12
target triple = "dxil-pc-shadermodel6.7-library"
10
13
14
+; Test the indiviual ops that they have the same Shader Wave flag at the
15
+; function level to ensure that each op is setting it accordingly
16
+
17
define noundef i1 @wave_is_first_lane() {
18
entry:
19
; CHECK: Function wave_is_first_lane : [[WAVE_FLAG]]
0 commit comments