mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Fix coding style issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -54,7 +54,7 @@ INITIALIZE_PASS_DEPENDENCY(LCSSA)
|
|||||||
INITIALIZE_PASS_END(LoopInstSimplify, "loop-instsimplify",
|
INITIALIZE_PASS_END(LoopInstSimplify, "loop-instsimplify",
|
||||||
"Simplify instructions in loops", false, false)
|
"Simplify instructions in loops", false, false)
|
||||||
|
|
||||||
Pass* llvm::createLoopInstSimplifyPass() {
|
Pass *llvm::createLoopInstSimplifyPass() {
|
||||||
return new LoopInstSimplify();
|
return new LoopInstSimplify();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) {
|
|||||||
|
|
||||||
while (!VisitStack.empty()) {
|
while (!VisitStack.empty()) {
|
||||||
WorklistItem Item = VisitStack.pop_back_val();
|
WorklistItem Item = VisitStack.pop_back_val();
|
||||||
BasicBlock* BB = Item.getPointer();
|
BasicBlock *BB = Item.getPointer();
|
||||||
bool IsSubloopHeader = Item.getInt();
|
bool IsSubloopHeader = Item.getInt();
|
||||||
|
|
||||||
// Simplify instructions in the current basic block.
|
// Simplify instructions in the current basic block.
|
||||||
|
Reference in New Issue
Block a user