================
@@ -176,10 +198,16 @@ void ModuleShaderFlags::initialize(Module &M, 
DXILResourceTypeMap &DRTM,
         continue;
       }
 
+      // Set ResMayNotAlias to true if DXIL version < 1.8 and there are UAVs
+      // present globally.
+      if (CanSetResMayNotAlias && MMDI.DXILVersion < VersionTuple(1, 8)) {
----------------
inbelic wrote:

We should adhere to: https://llvm.org/docs/CodingStandards.html#id60

https://github.com/llvm/llvm-project/pull/131070
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to