[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 14:22:22 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:
style nit: remove braces
https://github.com/llvm/llvm-project/pull/131070
More information about the llvm-commits
mailing list