LSR: fix expansion of scaled reg in non-address type formulae.
For non-address users, Base and Scaled registers are not specially associated to fit an address mode, so SCEVExpander should apply normal expansion rules. Otherwise we may sink computation into inner loops that have already been optimized. llvm-svn: 158537
Loading
Please register or sign in to comment