[PATCH] D151986: UniformityAnalysis: Skip computation with no branch divergence
    Sameer Sahasrabuddhe via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Jun  3 03:24:36 PDT 2023
    
    
  
sameerds added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineUniformityAnalysis.cpp:225
+  // default NoTTI
+  UI = computeMachineUniformityInfo(MF, CI, DomTree, true);
   return false;
----------------
Perhaps this magic constant "true" can be the result of calling NoTTI::hasBranchDivergence()?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151986/new/
https://reviews.llvm.org/D151986
    
    
More information about the llvm-commits
mailing list