================
@@ -488,6 +488,9 @@ CODEGENOPT(StaticClosure, 1, 0, Benign)
 /// Assume that UAVs/SRVs may alias
 CODEGENOPT(ResMayAlias, 1, 0, Benign)
 
+/// Assume that not all resources are bound
----------------
bob80905 wrote:

```
#ifndef VALUE_CODEGENOPT
#  define VALUE_CODEGENOPT(Name, Bits, Default, Compatibility)
```
We want the default value to be 0, which indicates that we are assuming not all 
resources are bound. Only the option should change this value from 0 to 1, 
indicating we can trust that all resources are bound.
Because we've defined the flag with a default of 0, and that's what we want, 
the `not` is meant to be there.

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

Reply via email to