[PATCH] D115545: [Inline] Attempt to delete any discardable if unused functions
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan 13 09:41:17 PST 2022
    
    
  
nikic added a comment.
In D115545#3241068 <https://reviews.llvm.org/D115545#3241068>, @aeubanks wrote:
> a flame graph shows that `removeDeadConstantUsers()` is taking up almost half of the compile time in the repro
Switching to hasOneLiveUse() instead should avoid that, as it will short-circuit.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115545/new/
https://reviews.llvm.org/D115545
    
    
More information about the llvm-commits
mailing list