1 // RUN: %clang_cc1 -std=hlsl2021 -finclude-default-header -x hlsl -triple \
2 // RUN: dxil-pc-shadermodel6.3-compute %s -hlsl-entry foo \
3 // RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s
5 // Make sure not mangle entry.
6 // CHECK:define void @foo()
7 // Make sure add function attribute and numthreads attribute.
8 // CHECK:"hlsl.numthreads"="16,8,1"
9 // CHECK:"hlsl.shader"="compute"