================ @@ -84,8 +128,150 @@ static void reportOverlappingBinding(Module &M, DXILResourceMap &DRM) { } } +static void reportRegNotBound(Module &M, + llvm::hlsl::rootsig::RangeInfo Unbound) { + SmallString<128> Message; + raw_svector_ostream OS(Message); + OS << "register " << ResourceClassToString(Unbound.Class) + << " (space=" << Unbound.Space << ", register=" << Unbound.LowerBound + << ")" + << " is not defined in Root Signature"; ---------------- inbelic wrote:
```suggestion << " does not have a binding in the Root Signature"; ``` https://github.com/llvm/llvm-project/pull/146785 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits