[llvm] [DirectX] Set whole-module flags prior to evaluating per-function flags (PR #139967)
    Farzon Lotfi via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu May 15 10:27:01 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
----------------
farzonl wrote:
I did not see anything in the description about why we are removing the `DisableOptimizations` block of code.
https://github.com/llvm/llvm-project/pull/139967
    
    
More information about the llvm-commits
mailing list