Skip to content

Commit 55f81c7

Browse files
committed
Fix build break
1 parent c66f401 commit 55f81c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/Analysis/DXILResource.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,8 @@ class DXILResourceBindingInfo {
670670
return CBufferSpaces;
671671
case dxil::ResourceClass::Sampler:
672672
return SamplerSpaces;
673+
default:
674+
llvm_unreachable("Invalid resource class");
673675
}
674676
}
675677

0 commit comments

Comments
 (0)