[llvm] Fix build failure in DXILResource.h on newer versions of MSVC (PR #139309)
Daniel Paoliello via llvm-commits
llvm-commits at lists.llvm.org
Fri May 9 14:03:30 PDT 2025
================
@@ -670,6 +670,8 @@ class DXILResourceBindingInfo {
return CBufferSpaces;
case dxil::ResourceClass::Sampler:
return SamplerSpaces;
+ default:
+ llvm_unreachable("Invalid resource class");
----------------
dpaoliello wrote:
Good call.
https://github.com/llvm/llvm-project/pull/139309
More information about the llvm-commits
mailing list