projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement Transforms/InstCombine/cast-load-gep.ll, which allows us to devirtualize
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
PRE.cpp
diff --git
a/lib/Transforms/Scalar/PRE.cpp
b/lib/Transforms/Scalar/PRE.cpp
index b8934d213d2d1231a0ad9779ba98c61cf34d9816..b849331ff1e3c53acb7f53dfda380a2de52ee0e8 100644
(file)
--- a/
lib/Transforms/Scalar/PRE.cpp
+++ b/
lib/Transforms/Scalar/PRE.cpp
@@
-102,6
+102,7
@@
namespace {
RegisterOpt<PRE> Z("pre", "Partial Redundancy Elimination");
}
+FunctionPass* llvm::createPREPass() { return new PRE(); }
bool PRE::runOnFunction(Function &F) {
VN = &getAnalysis<ValueNumbering>();