[llvm-commits] CVS: llvm/lib/CodeGen/UnreachableBlockElim.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 27 15:43:25 PDT 2006
Changes in directory llvm/lib/CodeGen:
UnreachableBlockElim.cpp updated: 1.8 -> 1.9
---
Log message:
eliminate RegisterOpt. It does the same thing as RegisterPass.
---
Diffs of the changes: (+1 -1)
UnreachableBlockElim.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/UnreachableBlockElim.cpp
diff -u llvm/lib/CodeGen/UnreachableBlockElim.cpp:1.8 llvm/lib/CodeGen/UnreachableBlockElim.cpp:1.9
--- llvm/lib/CodeGen/UnreachableBlockElim.cpp:1.8 Sun Aug 27 07:54:01 2006
+++ llvm/lib/CodeGen/UnreachableBlockElim.cpp Sun Aug 27 17:42:51 2006
@@ -35,7 +35,7 @@
class VISIBILITY_HIDDEN UnreachableBlockElim : public FunctionPass {
virtual bool runOnFunction(Function &F);
};
- RegisterOpt<UnreachableBlockElim>
+ RegisterPass<UnreachableBlockElim>
X("unreachableblockelim", "Remove unreachable blocks from the CFG");
}
More information about the llvm-commits
mailing list