[clang] [llvm] [DirectX] Implement Shader Flags Analysis for ResMayNotAlias (PR #131070)
Finn Plummer via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 17 15:51:32 PDT 2025
================
@@ -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
More information about the llvm-commits
mailing list