Skip to content
  • Dan Gohman's avatar
    When complicated expressions are broken down into subexpressions · bb7d5221
    Dan Gohman authored
    with multiplication by constants distributed through, occasionally
    those subexpressions can include both x and -x. For now, if this
    condition is discovered within LSR, just prune such cases away,
    as they won't be profitable. This fixes a "zero allocated in a
    base register" assertion failure.
    
    llvm-svn: 96177
    bb7d5221
Loading