brintos

brintos / llvm-project-archived public Read only

0
0
Text · 429 B · 1786b02 Raw
13 lines · plain
1; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.4-compute %s | FileCheck %s2 3define void @main(i32 %acc, i32 %x, i32 %y) {4entry:5; CHECK: call i32 @dx.op.dot4AddPacked.i32(i32 163, i32 %acc, i32 %x, i32 %y) #[[#ATTR:]]6  %0 = call i32 @llvm.dx.dot4add.i8packed(i32 %acc, i32 %x, i32 %y)7  ret void8}9 10; CHECK: attributes #[[#ATTR]] = {{{.*}} memory(none) {{.*}}}11 12declare i32 @llvm.dx.dot4add.i8packed(i32, i32, i32)13