mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//===- DCE.cpp - Code to perform dead code elimination --------------------===//
|
||||
//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by the LLVM research group and is distributed under
|
||||
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements dead inst elimination and dead code elimination.
|
||||
@@ -49,7 +49,7 @@ namespace {
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
RegisterOpt<DeadInstElimination> X("die", "Dead Instruction Elimination");
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ bool DCE::runOnFunction(Function &F) {
|
||||
WorkList.push_back(&*i);
|
||||
}
|
||||
std::set<Instruction*> DeadInsts;
|
||||
|
||||
|
||||
// Loop over the worklist finding instructions that are dead. If they are
|
||||
// dead make them drop all of their uses, making other instructions
|
||||
// potentially dead, and work until the worklist is empty.
|
||||
@@ -89,7 +89,7 @@ bool DCE::runOnFunction(Function &F) {
|
||||
while (!WorkList.empty()) {
|
||||
Instruction *I = WorkList.back();
|
||||
WorkList.pop_back();
|
||||
|
||||
|
||||
if (isInstructionTriviallyDead(I)) { // If the instruction is dead...
|
||||
// Loop over all of the values that the instruction uses, if there are
|
||||
// instructions being used, add them to the worklist, because they might
|
||||
|
Reference in New Issue
Block a user