blob: 2f2aa00464676dde55483cc93baee28fe2581a92 [file]
; RUN: not opt -S -dxil-op-lower %s 2>&1 | FileCheck %s
; DXIL operation not valid for pixel stage
; CHECK: in function test_group_id
; CHECK-SAME: Cannot create GroupId operation: Invalid stage
target triple = "dxil-pc-shadermodel6.7-pixel"
; Function Attrs: noinline nounwind optnone
define i32 @test_group_id() #0 {
entry:
%0 = call i32 @llvm.dx.group.id(i32 0)
ret i32 %0
}