mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Delete a bogus check.
llvm-svn: 112438
This commit is contained in:
parent
bde89495fa
commit
7b45482eab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user