Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / SPIRV / capability-Shader.ll
blob76adcd04a127075b7e491f6c3fb413b1ada84118
1 ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
3 ; CHECK-DAG: OpCapability Shader
4 ;; Ensure no other capability is listed.
5 ; CHECK-NOT: OpCapability
7 define void @main() #1 {
8 entry:
9   ret void
12 attributes #1 = { "hlsl.numthreads"="4,8,16" "hlsl.shader"="compute" }