mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 16:29:20 +00:00
Suppress a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160629 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4341e4155
commit
c1deb67d78
@ -1581,7 +1581,8 @@ void Reassociate::OptimizeInst(Instruction *I) {
|
||||
|
||||
// If this is an interior node of a reassociable tree, ignore it until we
|
||||
// get to the root of the tree, to avoid N^2 analysis.
|
||||
if (BO->hasOneUse() && BO->use_back()->getOpcode() == BO->getOpcode())
|
||||
unsigned Opcode = BO->getOpcode();
|
||||
if (BO->hasOneUse() && BO->use_back()->getOpcode() == Opcode)
|
||||
return;
|
||||
|
||||
// If this is an add tree that is used by a sub instruction, ignore it
|
||||
|
Loading…
Reference in New Issue
Block a user