[llvm] [DirectX] Set whole-module flags prior to evaluating per-function flags (PR #139967)
Deric C. via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 10:28:15 PDT 2025
================
@@ -273,43 +320,6 @@ void ModuleShaderFlags::initialize(Module &M, DXILResourceTypeMap &DRTM,
// Merge SCCSF with that of F
FunctionFlags[F].merge(SCCSF);
}
-
- // Set DisableOptimizations flag based on the presence of OptimizeNone
----------------
Icohedron wrote:
It's not removed; it has been relocated to the new `gatherGlobalModuleFlags` function
https://github.com/llvm/llvm-project/pull/139967
More information about the llvm-commits
mailing list