mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Make this pass use a more specific debug message than "Processing:".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -211,7 +211,7 @@ bool Reassociate::ReassociateBB(BasicBlock *BB) {
|
||||
bool Changed = false;
|
||||
for (BasicBlock::iterator BI = BB->begin(); BI != BB->end(); ++BI) {
|
||||
|
||||
DEBUG(std::cerr << "Processing: " << *BI);
|
||||
DEBUG(std::cerr << "Reassociating: " << *BI);
|
||||
if (BI->getOpcode() == Instruction::Sub && !BinaryOperator::isNeg(BI)) {
|
||||
// Convert a subtract into an add and a neg instruction... so that sub
|
||||
// instructions can be commuted with other add instructions...
|
||||
|
Reference in New Issue
Block a user