brintos

brintos / llvm-project-archived public Read only

0
0
Text · 853 B · e3b1f0b Raw
23 lines · plain
1 2; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library --filetype=asm -o - | FileCheck %s3 4declare void @llvm.lifetime.start.p0(i64, ptr) #15declare void @llvm.lifetime.end.p0(i64, ptr) #16declare i32 @llvm.dx.udot.v4i32(<4 x i32>, <4 x i32>) #27declare void @llvm.memset.p0.i32(ptr, i8, i32, i1) #38 9; CHECK-NOT: declare void @llvm.lifetime.start.p0(i64, ptr)10; CHECK-NOT: declare void @llvm.lifetime.end.p0(i64, ptr)11; CHECK-NOT: declare i32 @llvm.dx.udot.v4i32(<4 x i32>, <4 x i32>)12; CHECK-NOT: declare void @llvm.memset.p0.i32(ptr, i8, i32, i1)13 14; CHECK-LABEL: empty_fn15define void @empty_fn () local_unnamed_addr #0 {16    ret void17 } 18 19attributes #0 = { convergent norecurse nounwind "hlsl.export"}20attributes #1 = { nounwind memory(argmem: readwrite) }21attributes #2 = { nounwind memory(none) }22attributes #3 = { nounwind memory(argmem: write) }23