Delete a bogus check.

llvm-svn: 112438
This commit is contained in:
Dan Gohman 2010-08-29 15:30:29 +00:00
parent b6a520d63c
commit 37a0f68036
1 changed files with 1 additions and 2 deletions

View File

@ -1954,8 +1954,7 @@ LSRInstance::FindUseWithSimilarFormula(const Formula &OrigF,
if (F.BaseRegs == OrigF.BaseRegs &&
F.ScaledReg == OrigF.ScaledReg &&
F.AM.BaseGV == OrigF.AM.BaseGV &&
F.AM.Scale == OrigF.AM.Scale &&
LU.Kind) {
F.AM.Scale == OrigF.AM.Scale) {
if (F.AM.BaseOffs == 0)
return &LU;
// This is the formula where all the registers and symbols matched;