Skip to content
  • Dan Gohman's avatar
    Suppress LinearFunctionTestReplace when the computed backedge-taken · 4a645b88
    Dan Gohman authored
    expression is a UDiv and it doesn't appear that the UDiv came from
    the user's source.
    
    ScalarEvolution has recently figured out how to compute a tripcount
    expression for the inner loop in
    SingleSource/Benchmarks/Shootout/sieve.c, using a udiv. Emitting a
    udiv instruction dramatically slows down the enclosing loop.
    
    llvm-svn: 101068
    4a645b88
Loading