mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
Delete a bogus check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112438 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a83271532
commit
e39a47c5b3
@ -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…
x
Reference in New Issue
Block a user