Skip to content
  • Chris Lattner's avatar
    Add a fastpath to Load GVN to special case when we have exactly one dominating · bf200184
    Chris Lattner authored
    load to avoid even messing around with SSAUpdate at all.  In this case (which
    is very common, we can just use the input value directly).
    
    This speeds up GVN time on gcc.c-torture/20001226-1.c from 36.4s to 16.3s,
    which still isn't great, but substantially better and this is a simple speedup
    that applies to lots of different cases.
    
    llvm-svn: 91851
    bf200184
Loading