[PATCH] D118066: [SimplifyCFG] Don't speculatively execute preductably-taken block
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan 25 01:03:48 PST 2022
    
    
  
nikic added a comment.
Not sure on this. I think in theory you may be right, but in practice I suspect that converting a separate block into a select will on average be beneficial, because of the followup optimizations it enables. We'll be able to do more with a select than a whole basic block.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118066/new/
https://reviews.llvm.org/D118066
    
    
More information about the llvm-commits
mailing list