blob: 1d1fc61cfc67f0372bdebd9ff4a092b0a34e99e2 [file] [edit]
; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.4-compute %s | FileCheck %s
define void @main(i32 %acc, i32 %x, i32 %y) {
entry:
; CHECK: call i32 @dx.op.dot4AddPacked.i32(i32 164, i32 %acc, i32 %x, i32 %y)
%0 = call i32 @llvm.dx.dot4add.u8packed(i32 %acc, i32 %x, i32 %y)
ret void
}
; CHECK: declare i32 @dx.op.dot4AddPacked.i32(i32, i32, i32, i32) #[[#ATTR0:]]
; CHECK: attributes #[[#ATTR0]] = { nounwind memory(none) }
declare i32 @llvm.dx.dot4add.u8packed(i32, i32, i32)