================
@@ -38,7 +40,7 @@ bool verifyRootDescriptorFlag(uint32_t Version, uint32_t 
FlagsVal) {
   if (Version == 1)
     return Flags == FlagT::DataVolatile;
 
-  assert(Version == 2 && "Provided invalid root signature version");
+  assert((Version == 2 || Version == 3) && "Provided invalid root signature 
version");
----------------
bogner wrote:

`Version <= 3` might be clearer

https://github.com/llvm/llvm-project/pull/160616
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to